Skip to content

Commit

Permalink
change volume settings (docker-compose.yml)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaishuu0123 committed Jul 21, 2024
1 parent 84bf6c9 commit c99b75d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
volumes:
- ./docker-volumes/postgres:/var/lib/postgresql/data
- postgres-data:/var/lib/postgresql/data

redis:
restart: always
Expand All @@ -18,7 +18,7 @@ services:
healthcheck:
test: ["CMD", "redis-cli", "ping"]
volumes:
- ./docker-volumes/redis:/data
- redis-data:/data

# es:
# restart: always
Expand Down Expand Up @@ -60,9 +60,14 @@ services:
- redis
# - es
volumes:
- ./docker-volumes/rebacklogs/storage:/rebacklogs/storage
- app-storage:/rebacklogs/storage

networks:
external_network:
internal_network:
internal: true

volumes:
postgres-data:
app-storage:
redis-data:

0 comments on commit c99b75d

Please sign in to comment.