diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-24 11:41:16 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-24 11:41:16 -0300 |
commit | 2e745e325e7b115731ac92fdd3cc737a149d8464 (patch) | |
tree | 432d1fee1fda0577af4b7e6c0b7a29160ac30339 /docker-compose.example.yaml | |
parent | b8ac3e842fe6b36e8a8877d2e631412ab08104b9 (diff) |
Fixed containers restart directive
Diffstat (limited to 'docker-compose.example.yaml')
-rw-r--r-- | docker-compose.example.yaml | 2 |
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 |