Continued Setup
This commit is contained in:
@@ -69,12 +69,13 @@ services:
|
|||||||
- default
|
- default
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
dcframe1-db:
|
dcframe-db:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
container_name: dcframe-db
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.dcframe1-database.entrypoints: "web"
|
traefik.http.routers.dcframe1-database.entrypoints: "web"
|
||||||
traefik.http.routers.dcframe1-database.rule: "Host(`dcframe1-database.localtest.me`)"
|
traefik.http.routers.dcframe1-database.rule: "Host(`dcframe-database.localtest.me`)"
|
||||||
traefik.http.services.dcframe1-database.loadbalancer.server.port: "5432"
|
traefik.http.services.dcframe1-database.loadbalancer.server.port: "5432"
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
@@ -95,7 +96,7 @@ services:
|
|||||||
- "-c"
|
- "-c"
|
||||||
- "listen_addresses=*"
|
- "listen_addresses=*"
|
||||||
volumes:
|
volumes:
|
||||||
- dcframe1-db-data:/var/lib/postgresql/data
|
- dcframe-db-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
@@ -114,5 +115,5 @@ volumes:
|
|||||||
logs:
|
logs:
|
||||||
driver: local
|
driver: local
|
||||||
dcframe1-hmi1-data:
|
dcframe1-hmi1-data:
|
||||||
dcframe1-db-data:
|
dcframe-db-data:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user