docker-compose: add volumes
This commit is contained in:
parent
bcb9be88df
commit
49b84382e4
@ -34,3 +34,8 @@ services:
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
|
||||
|
||||
volumes:
|
||||
redis-data:
|
||||
@ -5,7 +5,7 @@ services:
|
||||
- .env
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:3000/']
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
@ -22,7 +22,7 @@ services:
|
||||
- redis
|
||||
networks:
|
||||
- app
|
||||
|
||||
|
||||
redis:
|
||||
image: redis:8-alpine
|
||||
restart: always
|
||||
@ -46,6 +46,9 @@ services:
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
volumes:
|
||||
redis-data:
|
||||
|
||||
networks:
|
||||
app:
|
||||
external: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user