Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.7'
- services:
- db_auth:
- image: postgres:10.1-alpine
- volumes:
- - postgres_data2:/var/lib/postgresql/data/
- ports:
- - 5430:5432
- auth:
- build:
- context: ./basket
- dockerfile: Dockerfile_auth
- command: python /work/basket/manage.py runserver 0.0.0.0:8877
- volumes:
- - .:/work
- ports:
- - 8877:8877
- depends_on:
- - db_auth
- db:
- image: postgres:10.1-alpine
- volumes:
- - postgres_data:/var/lib/postgresql/data/
- ports:
- - 5432:5432
- web:
- build: backWebservice/webservicevitrinehiva
- command: python /code/backWebservice/webservicevitrinehiva/manage.py runserver 0.0.0.0:8000
- volumes:
- - .:/code
- ports:
- - 8000:8000
- depends_on:
- - db
- front:
- build: frontHiva/hiva_web_app/Front
- ports:
- - 8888:80
- volumes:
- postgres_data:
- postgres_data2:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement