You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
651 B
44 lines
651 B
version: '3.8'
|
|
|
|
services:
|
|
db:
|
|
image: postgres
|
|
restart: on-failure
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "5430:5432"
|
|
networks:
|
|
- app
|
|
|
|
http_server:
|
|
build: ./py-conveyor-service/
|
|
restart: on-failure
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./py-conveyor-service/:/app
|
|
networks:
|
|
- app
|
|
|
|
# frontend:
|
|
# build: ./crud/
|
|
# restart: always
|
|
# env_file:
|
|
# - .env
|
|
# ports:
|
|
# - "4200:4200"
|
|
# depends_on:
|
|
# - http_server
|
|
# networks:
|
|
# - app
|
|
|
|
networks:
|
|
app:
|
|
driver: bridge
|
|
|