convert gitea to stack

This commit is contained in:
poslop
2024-10-11 12:15:32 -05:00
parent c2bf5cc443
commit c03b641fd8
2 changed files with 43 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
services:
gitea:
image: gitea/gitea:latest
environment:
- GITEA__service__DISABLE_REGISTRATION=true
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
- gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
#ports:
#- "3030:3000"
networks:
- caddy
networks:
caddy:
name: caddy
external: true
volumes:
gitea:
name: gitea

View File

@@ -282,22 +282,22 @@ services:
networks: networks:
- caddy - caddy
gitea: #gitea:
image: gitea/gitea:latest # image: gitea/gitea:latest
container_name: gitea # container_name: gitea
environment: # environment:
- GITEA__service__DISABLE_REGISTRATION=true # - GITEA__service__DISABLE_REGISTRATION=true
- USER_UID=1000 # - USER_UID=1000
- USER_GID=1000 # - USER_GID=1000
restart: always # restart: always
volumes: # volumes:
- gitea:/data # - gitea:/data
- /etc/timezone:/etc/timezone:ro # - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro # - /etc/localtime:/etc/localtime:ro
ports: # ports:
- "3030:3000" # - "3030:3000"
networks: # networks:
- caddy # - caddy
jellyfin: jellyfin:
image: lscr.io/linuxserver/jellyfin:latest image: lscr.io/linuxserver/jellyfin:latest
@@ -370,8 +370,8 @@ volumes:
external: true external: true
jellyfin: jellyfin:
name: jellyfin name: jellyfin
gitea: #gitea:
name: gitea #name: gitea
technitium: technitium:
name: technitium name: technitium
external: true external: true