Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- webservice_db:
- image: postgres:9.6
- environment:
- POSTGRES_PASSWORD: 'db_pwd'
- POSTGRES_USER: 'db_user'
- PGDATA: '/data/pgdata'
- POSTGRES_DB: 'microservice_db_docker'
- volumes:
- - ./dbdata:/data/pgdata
- ports:
- - "6100:5432"
- im_rest_backend:
- environment:
- DB_CONNECTION: postgresql+psycopg2://db_user:db_pwd@im_db/microservice_db_docker
- build: ./backend
- ports:
- - "9000:8000"
- volumes:
- - ../.:/app
- depends_on:
- - webservice_db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement