Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4. postgresql:
  5. restart: always
  6. image: sameersbn/postgresql:9.6-2
  7. volumes:
  8. - /srv/docker/gitlab/postgresql:/var/lib/postgresql:Z
  9. environment:
  10. - DB_USER=gogs
  11. - DB_PASS=Kamikawa1234
  12. - DB_NAME=gogs_production
  13. - DB_EXTENSION=pg_trgm
  14. gogs:
  15. restart: always
  16. image: gogs/gogs
  17. depends_on:
  18. - postgresql
  19. ports:
  20. - "8081:3000"
  21. - "8085:22"
  22. links:
  23. - postgresql
  24. volumes:
  25. - /srv/docker/gogs:/data:Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement