Skip to content
Snippets Groups Projects
Unverified Commit 199d98bf authored by Masaya Suzuki's avatar Masaya Suzuki Committed by GitHub
Browse files

DB・Redis -> Misskeyの順に起動する (#9569)

parent 3ae798d5
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,11 @@ services:
- db
- redis
# - es
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
ports:
- "3000:3000"
networks:
......@@ -24,6 +29,10 @@ services:
- internal_network
volumes:
- ./redis:/data
healthcheck:
test: "redis-cli ping"
interval: 5s
retries: 20
db:
restart: always
......@@ -34,6 +43,10 @@ services:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
healthcheck:
test: "pg_isready"
interval: 5s
retries: 20
# es:
# restart: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment