fix perms gitea
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
@@ -21,6 +19,7 @@ services:
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=mhIjXjG238w8TtpuB9ny
|
||||
restart: always
|
||||
command: /bin/sh -c "chown root:root /var/empty && chmod 0711 /var/empty && /usr/bin/entrypoint"
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
@@ -28,4 +27,4 @@ services:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3005:3005"
|
||||
- "3005:3005"
|
||||
|
||||
Reference in New Issue
Block a user