migration gitea p1
This commit is contained in:
parent
b14b461811
commit
8ecb0bab0c
1 changed files with 27 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue