24 lines
No EOL
571 B
YAML
24 lines
No EOL
571 B
YAML
version: '2.2'
|
|
|
|
services:
|
|
gitea:
|
|
privileged: true
|
|
image: gitea/gitea:latest
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1002
|
|
- LETSENCRYPT_EMAIL=webmaster@faulty.nl
|
|
- LETSENCRYPT_HOST=git.faulty.nl
|
|
- VIRTUAL_HOST=git.faulty.nl
|
|
- VIRTUAL_PORT=3000
|
|
restart: always
|
|
networks:
|
|
- proxy
|
|
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:
|
|
- "22:22" |