What a mess
This commit is contained in:
@@ -15,19 +15,19 @@ services:
|
||||
# Optional: expose port to host for debugging with a DB client
|
||||
# - "5432:5432"
|
||||
|
||||
echoes_of_the_ashes_bot:
|
||||
build: .
|
||||
container_name: echoes_of_the_ashes_bot
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./gamedata:/app/gamedata:rw
|
||||
- ./images:/app/images:ro
|
||||
depends_on:
|
||||
- echoes_of_the_ashes_db
|
||||
networks:
|
||||
- default_docker
|
||||
# echoes_of_the_ashes_bot:
|
||||
# build: .
|
||||
# container_name: echoes_of_the_ashes_bot
|
||||
# restart: unless-stopped
|
||||
# env_file:
|
||||
# - .env
|
||||
# volumes:
|
||||
# - ./gamedata:/app/gamedata:rw
|
||||
# - ./images:/app/images:ro
|
||||
# depends_on:
|
||||
# - echoes_of_the_ashes_db
|
||||
# networks:
|
||||
# - default_docker
|
||||
|
||||
echoes_of_the_ashes_map:
|
||||
build:
|
||||
@@ -57,6 +57,44 @@ services:
|
||||
- traefik.http.routers.echoesoftheash.tls.certResolver=production
|
||||
- traefik.http.services.echoesoftheash.loadbalancer.server.port=8080
|
||||
|
||||
echoes_of_the_ashes_pwa:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.pwa
|
||||
container_name: echoes_of_the_ashes_pwa
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- echoes_of_the_ashes_api
|
||||
networks:
|
||||
- default_docker
|
||||
- traefik
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.echoesoftheashgame-http.entrypoints=web
|
||||
- traefik.http.routers.echoesoftheashgame-http.rule=Host(`echoesoftheashgame.patacuack.net`)
|
||||
- traefik.http.routers.echoesoftheashgame-http.middlewares=https-redirect@file
|
||||
- traefik.http.routers.echoesoftheashgame.entrypoints=websecure
|
||||
- traefik.http.routers.echoesoftheashgame.rule=Host(`echoesoftheashgame.patacuack.net`)
|
||||
- traefik.http.routers.echoesoftheashgame.tls=true
|
||||
- traefik.http.routers.echoesoftheashgame.tls.certResolver=production
|
||||
- traefik.http.services.echoesoftheashgame.loadbalancer.server.port=80
|
||||
|
||||
echoes_of_the_ashes_api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.api
|
||||
container_name: echoes_of_the_ashes_api
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./gamedata:/app/gamedata:ro
|
||||
- ./images:/app/images:ro
|
||||
depends_on:
|
||||
- echoes_of_the_ashes_db
|
||||
networks:
|
||||
- default_docker
|
||||
|
||||
volumes:
|
||||
echoes-postgres-data:
|
||||
name: echoes-of-the-ashes-postgres-data
|
||||
|
||||
Reference in New Issue
Block a user