migration gitea p1

This commit is contained in:
Didier Slof 2023-04-12 15:11:14 +02:00
parent b14b461811
commit 8ecb0bab0c
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -1,7 +1,7 @@
version: '2.2'
services:
gitea:
faulty-gitea:
image: gitea/gitea:latest
restart: always
privileged: true
@ -13,9 +13,9 @@ services:
- VIRTUAL_HOST=gitea.faulty.nl
- VIRTUAL_PORT=3000
volumes:
- /srv/gitea/data:/data/git
- /srv/gitea/config:/data/gitea
- /srv/gitea/other/ssh:/data/ssh
- /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:
@ -51,8 +51,30 @@ services:
gitlab-runner:
image: gitlab/gitlab-runner:latest
volumes:
- /srv/gitlab/other/runner:/etc/gitlab-runner
- /srv/gitlab/other/runner:/et c/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
networks:
- internal
gitea:
image: gitea/gitea:latest
restart: always
privileged: true
environment:
- USER_UID=1000
- USER_GID=1002
- LETSENCRYPT_HOST=tmp.neo.ixvd.net
- VIRTUAL_HOST=tmp.neo.ixvd.net
- VIRTUAL_PORT=3000
volumes:
- /srv/gitea/data:/data/git
- /srv/gitea/config:/data/gitea
- /srv/gitea/other/ssh:/data/ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "2223:22"
networks:
- proxy
- internal