This repository provides a gogs application based on postgres.
- docker 1.11+
- git clone https://github.com/vedata/gogs-docker.git
- cd gogs-docker
- docker pull sameersbn/postgresql:9.4-4
- docker run -p 5432:5432 -e 'DB_USER=admin' -e 'DB_PASS=admin' -e 'DB_NAME=gogs' --name postgres-it ${IMAGE}
- docker build -t gogs:gogs .
- docker run -p 5432:5432 -e 'DB_USER=admin' -e 'DB_PASS=admin' -e 'DB_NAME=gogs' --name postgres -it ${IMAGE}
- git clone https://github.com/vedata/gogs-docker.git
- docker-compose up