consistent ownership
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
fe58cef568
commit
c27ba7c5cf
1 changed files with 11 additions and 1 deletions
|
@ -2,6 +2,8 @@ services:
|
|||
nyuukyou:
|
||||
build: yume-mods/nyuukyou
|
||||
restart: always
|
||||
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||
profiles: [web]
|
||||
links:
|
||||
- web
|
||||
depends_on:
|
||||
|
@ -16,8 +18,14 @@ services:
|
|||
- ./nyuukyou:/store
|
||||
|
||||
web:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- UID: "${MISSKEY_UID}"
|
||||
- GID: "${MISSKEY_GID}"
|
||||
profiles: [web]
|
||||
restart: always
|
||||
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||
links:
|
||||
- db
|
||||
- redis
|
||||
|
@ -42,6 +50,7 @@ services:
|
|||
redis:
|
||||
restart: always
|
||||
image: redis:7-alpine
|
||||
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||
networks:
|
||||
- internal_network
|
||||
volumes:
|
||||
|
@ -54,6 +63,7 @@ services:
|
|||
db:
|
||||
restart: always
|
||||
image: postgres:15-alpine
|
||||
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||
networks:
|
||||
- internal_network
|
||||
env_file:
|
||||
|
|
Loading…
Reference in a new issue