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