first running stack
This commit is contained in:
parent
5060247762
commit
fc437d0825
@ -1,19 +1,13 @@
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
caddy_caddy:
|
||||
caddy:
|
||||
external: true
|
||||
volumes:
|
||||
git-nfs:
|
||||
driver_opts:
|
||||
type: "nfs"
|
||||
o: "addr=10.0.20.252,rw,noatime,nolock,soft,rsize=131072,wsize=131072,tcp,timeo=14"
|
||||
device: ":/mnt/pile/drive/git"
|
||||
gitea-nfs:
|
||||
external: true
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: octopus/gitea:1.21.10
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
@ -22,16 +16,11 @@ services:
|
||||
- GITEA__database__NAME=DOCKER-SECRET->gitea.db.name
|
||||
- GITEA__database__USER=DOCKER-SECRET->gitea.db.user
|
||||
- GITEA__database__PASSWD=DOCKER-SECRET->gitea.db.passwd
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- gitea
|
||||
- caddy_caddy
|
||||
- caddy
|
||||
volumes:
|
||||
- type: volume
|
||||
source: git-nfs
|
||||
target: /data
|
||||
volume:
|
||||
subpath: gitea
|
||||
- gitea-nfs:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
secrets:
|
||||
@ -40,7 +29,6 @@ services:
|
||||
- gitea.db.name
|
||||
- gitea.db.host
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
secrets:
|
||||
gitea.db.user:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user