Advertisement
Guest User

Untitled

a guest
Jan 25th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. gogs:
  2. environment:
  3. - RUN_CROND=true
  4. image: 'gogs/gogs:latest'
  5. links:
  6. - postgres
  7. ports:
  8. - '10022:22'
  9. - '10080:3000'
  10. restart: always
  11. volumes:
  12. - '/srv/docker/gogs/gogs-data:/data'
  13. postgres:
  14. environment:
  15. - POSTGRES_DB=gogs
  16. - POSTGRES_PASSWORD=yourpass
  17. - POSTGRES_USER=admin
  18. image: 'postgres:9.5'
  19. restart: always
  20. volumes:
  21. - '/srv/docker/postgresql/db-data:/var/lib/postgresql/data'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement