Created
July 25, 2017 02:00
-
-
Save Code-Hex/04655b0adb9e68d6b293f9891da0de4b to your computer and use it in GitHub Desktop.
docker-compose.yml for gogs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
postgresql: | |
restart: always | |
image: sameersbn/postgresql:9.6-2 | |
volumes: | |
- /srv/docker/gitlab/postgresql:/var/lib/postgresql:Z | |
environment: | |
- DB_USER=gogs | |
- DB_PASS=Kamikawa1234 | |
- DB_NAME=gogs_production | |
- DB_EXTENSION=pg_trgm | |
gogs: | |
restart: always | |
image: gogs/gogs | |
depends_on: | |
- postgresql | |
ports: | |
- "8081:3000" | |
- "8085:22" | |
links: | |
- postgresql | |
volumes: | |
- /srv/docker/gogs:/data:Z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment