summaryrefslogtreecommitdiff
path: root/docker-compose.example.yaml
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-24 11:41:16 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-24 11:41:16 -0300
commit2e745e325e7b115731ac92fdd3cc737a149d8464 (patch)
tree432d1fee1fda0577af4b7e6c0b7a29160ac30339 /docker-compose.example.yaml
parentb8ac3e842fe6b36e8a8877d2e631412ab08104b9 (diff)
Fixed containers restart directive
Diffstat (limited to 'docker-compose.example.yaml')
-rw-r--r--docker-compose.example.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml
index 6af3b0b..e9356bd 100644
--- a/docker-compose.example.yaml
+++ b/docker-compose.example.yaml
@@ -114,6 +114,7 @@ services:
- OPENVPN_USER=<vpn_user>
- OPENVPN_PASSWORD=<vpn_password>
- SERVER_COUNTRIES=<vpn_country>
+ restart: unless-stopped
# Watchtower is going to keep our instances updated
watchtower:
@@ -121,3 +122,4 @@ services:
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
+ restart: unless-stopped