Restart prod docker containers unless stopped
In production, we always want to run the docker containers unless we
explicitly ask them to stop.
Change-Id: I0676e05036c38c8bfbafda665373db263191ea73
diff --git a/docker-compose.yml b/docker-compose.yml
index db17206..ca974ad 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -11,6 +11,7 @@
- server
networks:
- backend
+ restart: unless-stopped
server:
build:
context: .
@@ -23,6 +24,7 @@
- db
networks:
- backend
+ restart: unless-stopped
db:
image: mariadb
environment:
@@ -30,6 +32,7 @@
MARIADB_DATABASE: twpt
networks:
- backend
+ restart: unless-stopped
networks:
backend: