feat: connect the production Docker compose stack to the web server network
This commit is contained in:
parent
588eb63201
commit
602713a00c
@ -5,6 +5,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports: [ "8000:8000" ]
|
ports: [ "8000:8000" ]
|
||||||
depends_on: [ "db" ]
|
depends_on: [ "db" ]
|
||||||
|
networks:
|
||||||
|
- web-server-network
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:16.4-bookworm
|
image: postgres:16.4-bookworm
|
||||||
@ -18,3 +20,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web-server-network:
|
||||||
|
external: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user