From 97cf8dc9a53b1088066d04d4992fcc238af6017c Mon Sep 17 00:00:00 2001 From: Michael Bunsen Date: Fri, 9 Feb 2024 16:08:08 -0800 Subject: [PATCH] Run production containers as a service --- production.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/production.yml b/production.yml index e7d8c347a..534023c47 100644 --- a/production.yml +++ b/production.yml @@ -29,10 +29,12 @@ services: ports: - "5001:5000" command: /start + restart: always redis: image: redis:6 container_name: ami_redis + restart: always celeryworker: <<: *django @@ -40,12 +42,14 @@ services: scale: 1 ports: [] command: /start-celeryworker + restart: always celerybeat: <<: *django container_name: ami_celerybeat ports: [] command: /start-celerybeat + restart: always flower: <<: *django @@ -53,6 +57,7 @@ services: ports: - "5550:5555" command: /start-flower + restart: always awscli: build: