diff --git a/compose.libsonnet b/compose.libsonnet index f93bfc8..7c5e867 100644 --- a/compose.libsonnet +++ b/compose.libsonnet @@ -36,7 +36,7 @@ local mkService(name, svc) = svc { then [dockerSocket] else [], labels: traefikLabels(name, std.get(svc, 'host', name), svc.webPort, optional(svc, 'traefik')), - restart: 'always', + restart: std.get(svc, 'restart', 'always'), } + mkNetwork(svc); local extractVolumes(cfg) = { diff --git a/services.jsonnet b/services.jsonnet index 92e89a1..e73bbd1 100644 --- a/services.jsonnet +++ b/services.jsonnet @@ -140,6 +140,8 @@ function(secrets={}) ], }, archivebox: { + entrypoint: 'echo "archivebox disabled"', + restart: 'no', image: 'archivebox/archivebox:dev', command: 'server --quick-init 0.0.0.0:8000', // TODO: hack to workaround https://github.com/ArchiveBox/ArchiveBox/issues/1002 @@ -155,6 +157,8 @@ function(secrets={}) host:: 'archive', }, firefly: { + entrypoint: 'echo "firefly disabled"', + restart: 'no', image: 'fireflyiii/core:latest', environment: { DB_CONNECTION: 'sqlite', @@ -171,6 +175,8 @@ function(secrets={}) webPort:: 8080, }, actual: { + entrypoint: 'echo "actual disabled"', + restart: 'no', image: 'jlongster/actual-server:latest', environment: { userFilesPath: '/data/user',