Merge pull request 'feature/disable-restart' (#2) from feature/disable-restart into main
continuous-integration/drone/push Build is passing Details

Reviewed-on: #2
This commit is contained in:
Jack Hadrill 2022-08-27 20:12:57 +00:00
commit 44cf0564e9
2 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[metadata] [metadata]
name = containerspawner name = containerspawner
version = 0.1.1 version = 0.1.1.post1

View File

@ -44,7 +44,6 @@ class StateManager:
name=container_name, name=container_name,
network=CONTAINER_NETWORK, network=CONTAINER_NETWORK,
volumes={container_name: {"bind": CONTAINER_PERSIST}}, volumes={container_name: {"bind": CONTAINER_PERSIST}},
restart_policy={"Name": "always", "MaximumRetryCount": 5},
detach=True, detach=True,
auto_remove=True auto_remove=True
) )