fix perms gitea

This commit is contained in:
2025-02-05 21:43:45 +00:00
parent 4b4aa9e815
commit 4e00369aee

View File

@@ -1,5 +1,3 @@
version: "3"
networks: networks:
gitea: gitea:
external: false external: false
@@ -21,6 +19,7 @@ services:
- GITEA__database__USER=gitea - GITEA__database__USER=gitea
- GITEA__database__PASSWD=mhIjXjG238w8TtpuB9ny - GITEA__database__PASSWD=mhIjXjG238w8TtpuB9ny
restart: always restart: always
command: /bin/sh -c "chown root:root /var/empty && chmod 0711 /var/empty && /usr/bin/entrypoint"
networks: networks:
- gitea - gitea
volumes: volumes:
@@ -28,4 +27,4 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "3005:3005" - "3005:3005"