27 lines
707 B
YAML
27 lines
707 B
YAML
version: "3"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
server:
|
|
image: gitea/gitea:1.17.4
|
|
container_name: gitea
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
restart: always
|
|
networks:
|
|
- traefik
|
|
volumes:
|
|
- /data/gitea:/data
|
|
- /apps/gitea/conf:/data/gitea/conf
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
labels:
|
|
- traefik.http.routers.gitea.entrypoints=websecure
|
|
- traefik.http.routers.gitea.rule=Host(`git.pizzapim.nl`)
|
|
- traefik.http.routers.gitea.tls=true
|
|
- traefik.http.routers.gitea.tls.certresolver=pizzapim
|
|
- traefik.http.services.gitea.loadbalancer.server.port=3000
|