Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PostgreSQL:
- restart: always
- image: postgres:9.6-alpine
- container_name: postgres
- ports:
- - "5432:5432"
- environment:
- - DEBUG=false
- - POSTGRES_USER=postgres_or_another
- - POSTGRES_PASSWORD=something_secure
- - POSTGRES_DB=your_database_name_here
- volumes:
- - ./data:/var/lib/postgresql/data
- # How to run
- # docker-compose up -d
Add Comment
Please, Sign In to add comment