Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- web:
- build:
- context: .
- dockerfile: python.dockerfile
- command: python3 manage.py runserver 0.0.0.0:8000
- env_file:
- - .env
- volumes:
- - ".:/project"
- ports:
- - "8000:8000"
- database:
- image: mdillon/postgis:9.6-alpine
- env_file:
- - .env
- environment:
- POSTGRES_DB: ${DB_NAME}
- POSTGRES_PASSWORD: ${DB_PASSWORD}
- POSTGRES_USER: ${DB_USER}
- ports:
- - "5432:5432"
- node:
- build:
- context: .
- dockerfile: node.dockerfile
- command: npm run watch .
- volumes:
- - ".:/src"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement