postgres:
#image: postgres:latest
image: postgres:11.7
restart: always
volumes:
- /var/www/gitlab_postgres/:/var/lib/postgresql/data/
environment:
POSTGRES_PASSWORD: 'gitlab'
POSTGRES_USER: 'gitlab'
POSTGRES_DB: 'gitlabhq_production'
gitlab:
#image: gitlab/gitlab-ce:latest
image: gitlab/gitlab-ce:11.11.8-ce.0
restart: always
hostname: '
gh.sharksw.com'
volumes:
- /var/www/gitlab/config/:/etc/gitlab/
- /var/www/gitlab/logs/:/var/log/gitlab/
- /var/www/gitlab/data:/var/opt/gitlab/
depends_on:
- postgres