first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#version: '3.8'
|
||||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
# container_name: gitea
|
||||
restart: always
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=sqlite3
|
||||
- GITEA__server__ROOT_URL=https://gitea.lan.ddnsgeek.com/
|
||||
volumes:
|
||||
- ./data:/data
|
||||
networks:
|
||||
# - proxy
|
||||
- traefik_default
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.routers.gitea.rule=Host(`gitea.lan.ddnsgeek.com`)"
|
||||
- "traefik.http.routers.gitea.entrypoints=websecure"
|
||||
- "traefik.http.routers.gitea.tls=true"
|
||||
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
|
||||
- "io.portainer.accesscontrol.public"
|
||||
|
||||
|
||||
#volumes:
|
||||
# gitea_data:
|
||||
|
||||
networks:
|
||||
traefik_default:
|
||||
external: true
|
||||
Reference in New Issue
Block a user