Verified Commit 09fefec9 authored by Markus Shepherd's avatar Markus Shepherd 🙈
Browse files

update restart policy

parent cc529819
......@@ -13,7 +13,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -31,7 +31,7 @@ services:
- ./feeds:/app/feeds
- ./images:/app/images
- ../recommend-games-server/gs.json:/app/gs.json
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -47,7 +47,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -63,7 +63,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -83,7 +83,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -103,7 +103,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -123,7 +123,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -143,7 +143,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -163,7 +163,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -183,7 +183,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -203,7 +203,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -223,7 +223,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -240,7 +240,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -256,7 +256,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 30m
stop_signal: SIGINT
......@@ -272,7 +272,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -288,7 +288,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 30m
stop_signal: SIGINT
......@@ -304,7 +304,7 @@ services:
volumes:
- ./feeds:/app/feeds
- ./images:/app/images
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -324,7 +324,7 @@ services:
LOGSTASH_HOST: ''
LOGSTASH_PORT: ''
LOGSTASH_PROTOCOL: none
restart: always
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT
......@@ -343,7 +343,7 @@ services:
# # SPARK_MASTER: spark://spark-master:7077
# volumes:
# - ./feeds:/app/feeds
# restart: always
# restart: unless-stopped
# stop_grace_period: 15m
# stop_signal: SIGINT
......@@ -356,7 +356,7 @@ services:
# environment:
# - INIT_DAEMON_STEP=setup_spark
# - "constraint:node==<yourmasternode>"
# restart: always
# restart: unless-stopped
# spark-worker-1:
# image: bde2020/spark-worker:2.4.5-hadoop2.7
......@@ -368,7 +368,7 @@ services:
# environment:
# - "SPARK_MASTER=spark://spark-master:7077"
# - "constraint:node==<yourworkernode>"
# restart: always
# restart: unless-stopped
# spark-worker-2:
# image: bde2020/spark-worker:2.4.5-hadoop2.7
......@@ -380,4 +380,4 @@ services:
# environment:
# - "SPARK_MASTER=spark://spark-master:7077"
# - "constraint:node==<yourworkernode>"
# restart: always
# restart: unless-stopped
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment