correct gitea data location

This commit is contained in:
tolerryan
2026-10-07 05:05:31 +00:00
parent a3340bca53
commit ada7596deb

View File

@@ -12,10 +12,11 @@ services:
- USER=docker - USER=docker
- USER_UID=991 - USER_UID=991
- USER_GID=991 - USER_GID=991
- GITEA__security__INSTALL_LOCK=true
networks: networks:
- gitea - gitea
volumes: volumes:
- ./gitea:/data - /apps/data/:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
@@ -28,7 +29,7 @@ services:
networks: networks:
- gitea - gitea
volumes: volumes:
# Mount the host Docker socket to allow the runner to spawn new containers # Mount the host Docker socket to allow the runner to spawn new containers
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
# Optional: Mount a data volume for runner cache (though ephemeral runners don't need it) # Optional: Mount a data volume for runner cache (though ephemeral runners don't need it)
# - ./runner_data:/data # - ./runner_data:/data