You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
593 B

  1. version: '3.6'
  2. services:
  3. dbpg:
  4. image: postgres
  5. restart: always
  6. environment:
  7. POSTGRES_PASSWORD: postgres
  8. volumes:
  9. - databasepg:/var/lib/postgresql/data
  10. - ./hostfiles:/hostfiles
  11. ports:
  12. - "5432:5432"
  13. adminer:
  14. image: adminer
  15. restart: always
  16. ports:
  17. - 8081:8080
  18. pgadmin:
  19. image: dpage/pgadmin4
  20. restart: always
  21. environment:
  22. PGADMIN_DEFAULT_EMAIL: info@wpstudio.ru
  23. PGADMIN_DEFAULT_PASSWORD: postgres
  24. ports:
  25. - "83:80"
  26. volumes:
  27. - ./hostfiles/pgadmin:/var/lib/pgadmin
  28. volumes:
  29. databasepg: