Skip to content

Commit ed9ced3

Browse files
Add restart policy for local containers (tables / analytics / redis) (#2196)
<!-- Ensure the title clearly reflects what was changed. Provide a clear and concise description of the changes made. The PR should only contain the changes related to the issue, and no other unrelated changes. --> Fixes OPS-4079
1 parent 3e412e9 commit ed9ced3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: openopsdev
22
services:
33
tables:
44
container_name: tables
5+
restart: unless-stopped
56
image: public.ecr.aws/openops/openops-tables:0.2.17
67
environment:
78
BASEROW_PUBLIC_URL: ${OPS_OPENOPS_TABLES_PUBLIC_URL}
@@ -63,6 +64,7 @@ services:
6364
redis:
6465
image: 'redis:7.4.0'
6566
container_name: redis
67+
restart: unless-stopped
6668
ports: ['6379:6379']
6769
command: ['redis-server', '--notify-keyspace-events', 'Ex']
6870
healthcheck:
@@ -74,6 +76,7 @@ services:
7476
- 'redis_data:/data'
7577
analytics:
7678
container_name: analytics
79+
restart: unless-stopped
7780
image: public.ecr.aws/openops/openops-analytics:0.14.7
7881
ports: ['8088:8088']
7982
environment:

0 commit comments

Comments
 (0)