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'
|
version: '2.2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gitea:
|
faulty-gitea:
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
|
@ -13,9 +13,9 @@ services:
|
||||||
- VIRTUAL_HOST=gitea.faulty.nl
|
- VIRTUAL_HOST=gitea.faulty.nl
|
||||||
- VIRTUAL_PORT=3000
|
- VIRTUAL_PORT=3000
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/gitea/data:/data/git
|
- /srv/faulty-gitea/data:/data/git
|
||||||
- /srv/gitea/config:/data/gitea
|
- /srv/faulty-gitea/config:/data/gitea
|
||||||
- /srv/gitea/other/ssh:/data/ssh
|
- /srv/faulty-gitea/other/ssh:/data/ssh
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
|
@ -56,3 +56,25 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- 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