docker-gitlab/docker-compose.yml

26 lines
574 B
YAML

postgresql:
image: sameersbn/postgresql:9.4
environment:
- DB_USER=gitlab
- DB_PASS=secretpassword
- DB_NAME=gitlabhq_production
volumes:
- /srv/docker/gitlab/postgresql:/var/lib/postgresql
gitlab:
image: sameersbn/gitlab:7.10.3
links:
- redis:redisio
- postgresql:postgresql
ports:
- "10080:80"
- "10022:22"
environment:
- GITLAB_PORT=10080
- GITLAB_SSH_PORT=10022
volumes:
- /srv/docker/gitlab/gitlab:/home/git/data
redis:
image: sameersbn/redis:latest
volumes:
- /srv/docker/gitlab/redis:/var/lib/redis