chore: improved docker container names
This commit is contained in:
@@ -1,17 +1,19 @@
|
|||||||
services:
|
services:
|
||||||
tdsdb:
|
tdsdb:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
|
container_name: tds-db
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- MARIADB_ROOT_PASSWORD=lolpol
|
- MARIADB_ROOT_PASSWORD=lolpol
|
||||||
- MARIADB_USER=ward
|
- MARIADB_USER=ward
|
||||||
- MARIADB_PASSWORD=lolpol
|
- MARIADB_PASSWORD=lolpol
|
||||||
- MARIADB_DATABASE=family
|
- MARIADB_DATABASE=family
|
||||||
ports:
|
# ports:
|
||||||
- "3306:3306"
|
# - "3306:3306"
|
||||||
|
|
||||||
tdsfront:
|
tdsfront:
|
||||||
build: front
|
build: front
|
||||||
|
container_name: tds-web
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.tdsfront.rule=Host(`tds.truyen.network`) && PathPrefix(`/`)"
|
- "traefik.http.routers.tdsfront.rule=Host(`tds.truyen.network`) && PathPrefix(`/`)"
|
||||||
- "traefik.http.routers.tdsfront.entrypoints=websecure"
|
- "traefik.http.routers.tdsfront.entrypoints=websecure"
|
||||||
@@ -21,6 +23,7 @@ services:
|
|||||||
|
|
||||||
tdsback:
|
tdsback:
|
||||||
build: back
|
build: back
|
||||||
|
container_name: tds-api
|
||||||
depends_on:
|
depends_on:
|
||||||
- tdsdb
|
- tdsdb
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user