27 lines
726 B
YAML
27 lines
726 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
gitlab:
|
|
image: gitlab/gitlab-ce:latest
|
|
container_name: gitlab
|
|
restart: unless-stopped
|
|
hostname: gitlab.archvium.eu
|
|
environment:
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
external_url 'http://gitlab.archvium.eu:30230' # HTTP, SSL będzie przez NPM
|
|
gitlab_rails['gitlab_shell_ssh_port'] = 2224 # opcjonalny port SSH, jeśli chcesz
|
|
nginx['listen_port'] = 80
|
|
nginx['listen_https'] = false
|
|
networks:
|
|
- central_dogma
|
|
volumes:
|
|
- /srv/gitlab/config:/etc/gitlab
|
|
- /srv/gitlab/logs:/var/log/gitlab
|
|
- /srv/gitlab/data:/var/opt/gitlab
|
|
ports:
|
|
- '8929:80'
|
|
- '2224:22'
|
|
networks:
|
|
central_dogma:
|
|
external: true
|