Guest User

Untitled

a guest
Apr 10th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. PostgreSQL:
  2. restart: always
  3. image: postgres:9.6-alpine
  4. container_name: postgres
  5. ports:
  6. - "5432:5432"
  7. environment:
  8. - DEBUG=false
  9. - POSTGRES_USER=postgres_or_another
  10. - POSTGRES_PASSWORD=something_secure
  11. - POSTGRES_DB=your_database_name_here
  12.  
  13. volumes:
  14. - ./data:/var/lib/postgresql/data
  15.  
  16. # How to run
  17. # docker-compose up -d
Add Comment
Please, Sign In to add comment