logical replicate DB (stage 1) #2
1 changed files with 12 additions and 1 deletions
|
@ -2,6 +2,8 @@ services:
|
||||||
nyuukyou:
|
nyuukyou:
|
||||||
build: yume-mods/nyuukyou
|
build: yume-mods/nyuukyou
|
||||||
restart: always
|
restart: always
|
||||||
|
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||||
|
profiles: [web]
|
||||||
links:
|
links:
|
||||||
- web
|
- web
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -16,8 +18,14 @@ services:
|
||||||
- ./nyuukyou:/store
|
- ./nyuukyou:/store
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
- UID: "${MISSKEY_UID}"
|
||||||
|
- GID: "${MISSKEY_GID}"
|
||||||
|
profiles: [web]
|
||||||
restart: always
|
restart: always
|
||||||
|
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
@ -42,6 +50,7 @@ services:
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
|
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- internal_network
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -54,6 +63,7 @@ services:
|
||||||
db:
|
db:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
|
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- internal_network
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -69,6 +79,7 @@ services:
|
||||||
db-publish:
|
db-publish:
|
||||||
restart: always
|
restart: always
|
||||||
image: alpine/socat
|
image: alpine/socat
|
||||||
|
user: "${MISSKEY_UID}:${MISSKEY_GID}"
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue