correct gitea data location
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user