Update stack.production.yml

This commit is contained in:
colin 2024-01-29 19:28:47 +00:00
parent 529d70dc0b
commit d198c60b22
1 changed files with 12 additions and 12 deletions

View File

@ -24,7 +24,7 @@ x-depends_on:
services:
postgres:
image: postgres:15
image: git.nixc.us/colin/glitch:production-postgres
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
volumes:
@ -40,7 +40,7 @@ services:
networks:
- default
redis:
image: redis
image: git.nixc.us/colin/glitch:production-redis
deploy:
replicas: 1
placement:
@ -53,7 +53,7 @@ services:
networks:
- default
web:
image: glitchtip/glitchtip
image: git.nixc.us/colin/glitch:production-glitch
depends_on: *default-depends_on
environment: *default-environment
volumes:
@ -66,19 +66,19 @@ services:
labels:
- "us.nixc.autodeploy=true"
- "traefik.enable=true"
- "traefik.http.routers.glitch_glitch.tls=true"
- "traefik.http.services.glitch_glitch.loadbalancer.server.port=8000"
- "traefik.http.routers.glitch_glitch.rule=Host(`staging.glitch.nixc.us`)"
- "traefik.http.routers.glitch_glitch.entrypoints=websecure"
- "traefik.http.routers.glitch_glitch.tls.certresolver=letsencryptresolver"
- "traefik.http.routers.glitch_glitch.service=glitch_glitch"
- "traefik.http.routers.production-glitch_glitch.tls=true"
- "traefik.http.services.production-glitch_glitch.loadbalancer.server.port=8000"
- "traefik.http.routers.production-glitch_glitch.rule=Host(`glitch.nixc.us`)"
- "traefik.http.routers.production-glitch_glitch.entrypoints=websecure"
- "traefik.http.routers.production-glitch_glitch.tls.certresolver=letsencryptresolver"
- "traefik.http.routers.production-glitch_glitch.service=production-glitch_glitch"
- "traefik.docker.network=traefik"
# - 'traefik.http.routers.glitch_glitch.middlewares=authelia@docker'
# - 'traefik.http.routers.production-glitch_glitch.middlewares=authelia@docker'
networks:
- default
- traefik
worker:
image: glitchtip/glitchtip
image: git.nixc.us/colin/glitch:production-glitch
command: ./bin/run-celery-with-beat.sh
depends_on: *default-depends_on
environment: *default-environment
@ -94,7 +94,7 @@ services:
networks:
- default
migrate:
image: glitchtip/glitchtip
image: git.nixc.us/colin/glitch:production-glitch
depends_on: *default-depends_on
command: "./manage.py migrate"
environment: *default-environment