mirror of
https://github.com/R0m1k3/Reviflow.git
synced 2026-10-24 07:28:08 +02:00
feat(docker): add external nginx_default network
This commit is contained in:
1 parent
7c04fffe77
commit
8531503978
1 file changed
+11
@@ -14,6 +14,10 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
||||||
|
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- nginx_default
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
environment:
|
environment:
|
||||||
@@ -27,6 +31,13 @@ services:
|
|||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx_default:
|
||||||
|
external: true
|
||||||
Reference in new issue
Block a user