aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-07-06 17:42:32 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-07-06 17:42:32 +0100
commitfd5bfccc9c3074849d714bde98b6467e6532e721 (patch)
tree40f7380d31474bd9259ab80c67fca2e49fdf5a6a /docker-compose.yml
parent035bbdf5f1796c78e4d71c378c19ed4e95d2a076 (diff)
downloadSmallYTChannelBot-fd5bfccc9c3074849d714bde98b6467e6532e721.tar.gz
SmallYTChannelBot-fd5bfccc9c3074849d714bde98b6467e6532e721.zip
Updated restart policyHEADmaster
Diffstat (limited to 'docker-compose.yml')
-rwxr-xr-xdocker-compose.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 5af0778..62945b8 100755
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,5 +1,3 @@
-version: '3'
-
services:
sytc:
build:
@@ -12,6 +10,8 @@ services:
- mariadb:mysql
volumes:
- ./config.json:/app/config.json
+ restart: unless-stopped
+
cron:
build:
context: .
@@ -25,8 +25,10 @@ services:
- sytc
volumes:
- ./config.json:/app/config.json
+ restart: unless-stopped
networks:
db-network:
- external:
- name: mariadb
+ external: true
+ name: mariadb
+