Add astro stack for e.field.ghost.tel
This commit is contained in:
23
stacks/astro/docker-compose.yml
Normal file
23
stacks/astro/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
astro:
|
||||
image: nginx:alpine
|
||||
container_name: astro
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 80
|
||||
volumes:
|
||||
- ./dist:/usr/share/nginx/html:ro
|
||||
- ./nginx-cors.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
networks:
|
||||
- web
|
||||
labels:
|
||||
- "com.ghost.tel/stack-type=public"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.astro.entrypoints=https"
|
||||
- "traefik.http.routers.astro.rule=Host(`e.field.${DOMAIN}`)"
|
||||
- "traefik.http.routers.astro.tls.certresolver=http"
|
||||
- "traefik.http.services.astro.loadbalancer.server.port=80"
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
Reference in New Issue
Block a user