Compare commits

...
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
TYPE=custom-html-tiny
DOMAIN={{ .Domain }}
DOMAIN=custom-html-tiny.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.custom-html.example.com`'
+1 -1
View File
@@ -23,6 +23,6 @@ Custom HTML website, served using thttpd
5. `abra app deploy YOURAPPDOMAIN`
6. Copy your files to the container, using something like
```
abra app YOURAPPDOMAIN cp index.html app:/content
abra app cp YOURAPPDOMAIN index.html app:/var/www/http
```
+1 -1
View File
@@ -3,7 +3,7 @@ services:
git:
environment:
- GIT_REPO_URL
image: alpine/git:v2.36.3
image: alpine/git:v2.52.0
entrypoint: /docker-entrypoint.sh
volumes:
- content:/git
+3 -2
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: joseluisq/static-web-server:2.38.0
image: joseluisq/static-web-server:2.43.0
command: ["-a", "0.0.0.0", "-p", "80", "-g", "warn", "-d", "/var/www/http/$HTTP_SUBDIR"]
networks:
- proxy
@@ -12,12 +12,13 @@ services:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.swarm.network=proxy"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
# Redirect from EXTRA_DOMAINS to DOMAIN
- "coop-cloud.${STACK_NAME}.version=1.0.1+2.38.0"
- "coop-cloud.${STACK_NAME}.version=1.2.0+2.43.0"
environment:
- HTTP_SUBDIR
volumes: