services: add Gitea

This commit is contained in:
Bruno BELANYI 2019-12-19 16:46:17 +01:00
parent 8d80edd8a8
commit 1fd948138f

View file

@ -113,6 +113,29 @@ services:
- "default"
- "proxy-tier"
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: unless-stopped
environment:
- VIRTUAL_HOST=gitea.belanyi.fr
- LETSENCRYPT_HOST=gitea.belanyi.fr
- LETSENCRYPT_EMAIL=brunobelanyi@gmail.com
- VIRTUAL_PORT=3000
- ROOT_URL=https://gitea.belanyi.fr
- DOMAIN=gitea.belanyi.fr
- PROTOCOL=http
- USER_UID=1000
- USER_GID=1000
volumes:
- ./gitea:/data
ports:
- "5000:3000"
- "222:22"
networks:
- "proxy-tier"
- "default"
volumes:
certs:
vhost.d: