Restart docker containers always

This commit is contained in:
Ajay Ramachandran
2021-04-21 19:43:32 -04:00
parent 228a9a8807
commit c7e78c21c9

View File

@@ -10,6 +10,7 @@ services:
- ./database-export/:/opt/exports # To make this work, run chmod 777 ./database-exports - ./database-export/:/opt/exports # To make this work, run chmod 777 ./database-exports
ports: ports:
- 5432:5432 - 5432:5432
restart: always
redis: redis:
container_name: redis container_name: redis
image: redis image: redis
@@ -18,6 +19,7 @@ services:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf - ./redis/redis.conf:/usr/local/etc/redis/redis.conf
ports: ports:
- 32773:6379 - 32773:6379
restart: always
volumes: volumes:
database-data: database-data: