revert apis to single server
This commit is contained in:
@ -37,23 +37,6 @@ services:
|
|||||||
#entrypoint: ["/app/wait-for.sh", "postgres-db:5432", "--", ""]
|
#entrypoint: ["/app/wait-for.sh", "postgres-db:5432", "--", ""]
|
||||||
#command: python3 manage.py runserver 0.0.0.0:8100
|
#command: python3 manage.py runserver 0.0.0.0:8100
|
||||||
|
|
||||||
api2:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile.gdal
|
|
||||||
command: python3 manage.py runserver 0.0.0.0:8101
|
|
||||||
volumes:
|
|
||||||
- .:/app
|
|
||||||
ports:
|
|
||||||
- 8101:8101
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
restart: "on-failure"
|
|
||||||
depends_on:
|
|
||||||
- postgres-db
|
|
||||||
networks:
|
|
||||||
- rog-api
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
rog-api:
|
rog-api:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user