add gitlab.yml
This commit is contained in:
parent
f8b07a47a8
commit
6ed21a40cf
2
dev.sh
2
dev.sh
@ -1 +1 @@
|
|||||||
docker compose --env-file .env.dev -f docker-compose.yml up
|
docker compose --env-file .env.dev -f traefik.yml up
|
19
gitlab.yml
Normal file
19
gitlab.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
gitlab:
|
||||||
|
image: gitlab/gitlab-ce:17.1.0-ce.0
|
||||||
|
container_name: gitlab
|
||||||
|
restart: always
|
||||||
|
hostname: 'gitlab.corp.hm'
|
||||||
|
environment:
|
||||||
|
GITLAB_OMNIBUS_CONFIG: |
|
||||||
|
# Add any other gitlab.rb configuration here, each on its own line
|
||||||
|
external_url 'https://gitlab.corp.hm'
|
||||||
|
ports:
|
||||||
|
- '80:80'
|
||||||
|
- '443:443'
|
||||||
|
- '22:22'
|
||||||
|
volumes:
|
||||||
|
- '$GITLAB_HOME/config:/etc/gitlab'
|
||||||
|
- '$GITLAB_HOME/logs:/var/log/gitlab'
|
||||||
|
- '$GITLAB_HOME/data:/var/opt/gitlab'
|
||||||
|
shm_size: '256m'
|
@ -20,7 +20,7 @@ services:
|
|||||||
- '--log=true'
|
- '--log=true'
|
||||||
#- "--log.level=INFO"
|
#- "--log.level=INFO"
|
||||||
- "--providers.docker.exposedByDefault=false"
|
- "--providers.docker.exposedByDefault=false"
|
||||||
- "--providers.docker.network=server_proxynet"
|
- "--providers.docker.network=proxynet"
|
||||||
#Entrypoints:
|
#Entrypoints:
|
||||||
- "--entrypoints.http.address=:80"
|
- "--entrypoints.http.address=:80"
|
||||||
- "--entrypoints.https.address=:443"
|
- "--entrypoints.https.address=:443"
|
||||||
@ -55,3 +55,8 @@ services:
|
|||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
max-size: "1m"
|
max-size: "1m"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxynet:
|
||||||
|
driver: bridge
|
||||||
|
external: false
|
Loading…
Reference in New Issue
Block a user