Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: postgres
- restart: always
- volumes:
- - ./postgres-data:/var/lib/postgresql/data
- ports:
- - "5432:5432"
- environment:
- - POSTGRES_DB=testdb
- - POSTGRES_USER=test
- - POSTGRES_PASSWORD=test
- web:
- build: .
- restart: always
- entrypoint: ./run_app.sh
- volumes:
- - .:/code
- ports:
- - "8080:8080"
- depends_on:
- - db
- environment:
- - DJANGO_ENV=testing
Add Comment
Please, Sign In to add comment