mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
26 lines
574 B
YAML
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.4
|
|
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
|