Advertisement
Guest User

Untitled

a guest
Dec 30th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. db:
  2. image: postgres:10.2-alpine
  3. container_name: db
  4. environment:
  5. POSTGRES_USER: postgres
  6. POSTGRES_PASSWORD: password
  7. POSTGRES_DB: demodb
  8. PGDATA: /var/lib/postgresql/data
  9. ports:
  10. - "5432:5432"
  11. volumes:
  12. - ./.data:/var/lib/postgresql/data
  13. - ./config/my-postgres.conf:/etc/postgresql.conf
  14. command: postgres -c 'config_file=/etc/postgresql.conf'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement