Guest User

Untitled

a guest
Nov 15th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. version: '3.1'
  2.  
  3. services:
  4. db:
  5. image: postgres:14.6
  6. restart: always
  7. environment:
  8. POSTGRES_PASSWORD: root
  9. POSTGRES_USER: root
  10. command: postgres -c logging_collector=on -c log_destination=stderr -c log_directory=/logs -c config_file=/var/lib/postgresql.conf
  11. volumes:
  12. # Persist the data between container invocations
  13. - postgresVolume:/var/lib/postgresql/data:rw
  14. - ./logs:/logs:rw
  15. - ./configs/postgresql.conf:/var/lib/postgresql.conf:rw
  16.  
  17. adminer:
  18. image: adminer
  19. restart: always
  20. ports:
  21. - 5755:8080
  22.  
  23. volumes:
  24. postgresVolume:
Advertisement
Add Comment
Please, Sign In to add comment