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:
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user