convert gitea to stack
This commit is contained in:
25
docker-compose.d/Gitea/gitea-stack.yml
Normal file
25
docker-compose.d/Gitea/gitea-stack.yml
Normal 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
|
||||
@@ -282,22 +282,22 @@ services:
|
||||
networks:
|
||||
- caddy
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
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
|
||||
#gitea:
|
||||
# image: gitea/gitea:latest
|
||||
# container_name: gitea
|
||||
# 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
|
||||
|
||||
jellyfin:
|
||||
image: lscr.io/linuxserver/jellyfin:latest
|
||||
@@ -370,8 +370,8 @@ volumes:
|
||||
external: true
|
||||
jellyfin:
|
||||
name: jellyfin
|
||||
gitea:
|
||||
name: gitea
|
||||
#gitea:
|
||||
#name: gitea
|
||||
technitium:
|
||||
name: technitium
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user