rename and be consistent for book / bookdev
This commit is contained in:
@@ -619,8 +619,8 @@ services:
|
|||||||
- /srv/docker/container/bookdb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
- /srv/docker/container/bookdb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
bookdb_webdev:
|
bookdev:
|
||||||
container_name: bookdb_webdev
|
container_name: bookdev
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
FLASK_ENV: "container"
|
FLASK_ENV: "container"
|
||||||
@@ -640,11 +640,11 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.enable=false"
|
- "com.centurylinklabs.watchtower.enable=false"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.bookdb_webdev.rule=Host(`book-dev.ddp.net`)"
|
- "traefik.http.routers.bookdb_webdev.rule=Host(`bookdev.ddp.net`)"
|
||||||
- "traefik.http.routers.bookdb_webdev.entrypoints=web"
|
- "traefik.http.routers.bookdb_webdev.entrypoints=web"
|
||||||
|
|
||||||
bookdb_web:
|
book:
|
||||||
container_name: bookdb_web
|
container_name: book
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
FLASK_ENV: "production"
|
FLASK_ENV: "production"
|
||||||
|
|||||||
Reference in New Issue
Block a user