Disable some services

main
mat ess 2023-07-23 21:24:23 -04:00
parent ae2160851c
commit 5e8d8d3ac3
2 changed files with 7 additions and 1 deletions

View File

@ -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) = {

View File

@ -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',