Compare commits
2 Commits
main
...
serve-hidd
| Author | SHA1 | Date | |
|---|---|---|---|
| 94d95c6438 | |||
| 9c56324c46 |
@ -9,6 +9,10 @@ LETS_ENCRYPT_ENV=production
|
|||||||
HTTP_SUBDIR=
|
HTTP_SUBDIR=
|
||||||
COMPOSE_FILE="compose.yml"
|
COMPOSE_FILE="compose.yml"
|
||||||
|
|
||||||
|
## Serve dot-prefixed files/directories (e.g. /.well-known/).
|
||||||
|
## Defaults to true (hidden). Set false to expose them.
|
||||||
|
#SERVER_IGNORE_HIDDEN_FILES=false
|
||||||
|
|
||||||
# Single Sign On via Traefik "file provider"
|
# Single Sign On via Traefik "file provider"
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"
|
||||||
|
|
||||||
|
|||||||
@ -23,6 +23,6 @@ Custom HTML website, served using thttpd
|
|||||||
5. `abra app deploy YOURAPPDOMAIN`
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
6. Copy your files to the container, using something like
|
6. Copy your files to the container, using something like
|
||||||
```
|
```
|
||||||
abra app cp YOURAPPDOMAIN index.html app:/var/www/http
|
abra app YOURAPPDOMAIN cp index.html app:/content
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ services:
|
|||||||
git:
|
git:
|
||||||
environment:
|
environment:
|
||||||
- GIT_REPO_URL
|
- GIT_REPO_URL
|
||||||
image: alpine/git:v2.52.0
|
image: alpine/git:v2.36.3
|
||||||
entrypoint: /docker-entrypoint.sh
|
entrypoint: /docker-entrypoint.sh
|
||||||
volumes:
|
volumes:
|
||||||
- content:/git
|
- content:/git
|
||||||
|
|||||||
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: joseluisq/static-web-server:2.42.0
|
image: joseluisq/static-web-server:2.38.0
|
||||||
command: ["-a", "0.0.0.0", "-p", "80", "-g", "warn", "-d", "/var/www/http/$HTTP_SUBDIR"]
|
command: ["-a", "0.0.0.0", "-p", "80", "-g", "warn", "-d", "/var/www/http/$HTTP_SUBDIR"]
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
@ -17,9 +17,10 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
# Redirect from EXTRA_DOMAINS to DOMAIN
|
# Redirect from EXTRA_DOMAINS to DOMAIN
|
||||||
- "coop-cloud.${STACK_NAME}.version=1.1.0+2.42.0"
|
- "coop-cloud.${STACK_NAME}.version=1.0.2+2.38.0"
|
||||||
environment:
|
environment:
|
||||||
- HTTP_SUBDIR
|
- HTTP_SUBDIR
|
||||||
|
- SERVER_IGNORE_HIDDEN_FILES
|
||||||
volumes:
|
volumes:
|
||||||
- content:/var/www/http
|
- content:/var/www/http
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user