Skip to content

Commit

Permalink
誰もdb使わなくなったので止める
Browse files Browse the repository at this point in the history
  • Loading branch information
na2na-p committed Mar 13, 2024
1 parent 18e5df1 commit 6c31e17
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ services:
restart: always
links:
- redis
- db
# - db
# - meilisearch
# - es
depends_on:
redis:
condition: service_healthy
db:
condition: service_healthy
# db:
# condition: service_healthy
networks:
- internal_network
- external_network
Expand All @@ -32,20 +32,20 @@ services:
interval: 5s
retries: 20

db:
restart: always
image: postgres:15.3-bullseye
networks:
- internal_network
env_file:
- .config/docker.env
volumes:
- postgres:/var/lib/postgresql/data
- ./db:/misskey-na2na-db
healthcheck:
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
interval: 5s
retries: 20
# db:
# restart: always
# image: postgres:15.3-bullseye
# networks:
# - internal_network
# env_file:
# - .config/docker.env
# volumes:
# - postgres:/var/lib/postgresql/data
# - ./db:/misskey-na2na-db
# healthcheck:
# test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
# interval: 5s
# retries: 20

# meilisearch:
# restart: always
Expand Down Expand Up @@ -119,6 +119,6 @@ networks:
external_network:

volumes:
postgres:
# postgres:
redis:
# meili_data:

0 comments on commit 6c31e17

Please sign in to comment.