This commit is contained in:
Didier Slof 2023-04-28 16:11:40 +02:00
parent 40925d4d30
commit 4eb08755d5

View file

@ -1,33 +1,10 @@
version: '2.2' version: '2.2'
services: services:
faulty-gitea:
image: gitea/gitea:latest
restart: always
privileged: true
environment:
- USER_UID=1000
- USER_GID=1002
- LETSENCRYPT_EMAIL=webmaster@faulty.nl
- LETSENCRYPT_HOST=gitea.faulty.nl
- VIRTUAL_HOST=gitea.faulty.nl
- VIRTUAL_PORT=3000
volumes:
- /srv/faulty-gitea/data:/data/git
- /srv/faulty-gitea/config:/data/gitea
- /srv/faulty-gitea/other/ssh:/data/ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "2222:22"
networks:
- proxy
- internal
gitlab: gitlab:
image: gitlab/gitlab-ce:latest image: gitlab/gitlab-ce:latest
restart: always restart: always
hostname: 'git.ixvd.net' hostname: 'old-git.neo.ixvd.net'
environment: environment:
GITLAB_OMNIBUS_CONFIG: | GITLAB_OMNIBUS_CONFIG: |
external_url 'https://git.ixvd.net' external_url 'https://git.ixvd.net'
@ -35,10 +12,10 @@ services:
nginx['listen_port'] = 80 nginx['listen_port'] = 80
nginx['listen_https'] = false nginx['listen_https'] = false
# temp ssh port # temp ssh port
VIRTUAL_HOST: git.ixvd.net VIRTUAL_HOST: old-git.neo.ixvd.net
LETSENCRYPT_HOST: git.ixvd.net LETSENCRYPT_HOST: old-git.neo.ixvd.net
ports: ports:
- '22:22' - '2223:22'
volumes: volumes:
- /srv/gitlab/config:/etc/gitlab - /srv/gitlab/config:/etc/gitlab
- /srv/gitlab/data:/var/opt/gitlab - /srv/gitlab/data:/var/opt/gitlab
@ -63,8 +40,8 @@ services:
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1002 - USER_GID=1002
- LETSENCRYPT_HOST=tmp.neo.ixvd.net - LETSENCRYPT_HOST=git.ixvd.net
- VIRTUAL_HOST=tmp.neo.ixvd.net - VIRTUAL_HOST=git.ixvd.net
- VIRTUAL_PORT=3000 - VIRTUAL_PORT=3000
volumes: volumes:
- /srv/gitea/data:/data/git - /srv/gitea/data:/data/git
@ -73,7 +50,7 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "2223:22" - "22:22"
networks: networks:
- proxy - proxy
- internal - internal