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] then [dockerSocket]
else [], else [],
labels: traefikLabels(name, std.get(svc, 'host', name), svc.webPort, optional(svc, 'traefik')), labels: traefikLabels(name, std.get(svc, 'host', name), svc.webPort, optional(svc, 'traefik')),
restart: 'always', restart: std.get(svc, 'restart', 'always'),
} + mkNetwork(svc); } + mkNetwork(svc);
local extractVolumes(cfg) = { local extractVolumes(cfg) = {

View File

@ -140,6 +140,8 @@ function(secrets={})
], ],
}, },
archivebox: { archivebox: {
entrypoint: 'echo "archivebox disabled"',
restart: 'no',
image: 'archivebox/archivebox:dev', image: 'archivebox/archivebox:dev',
command: 'server --quick-init 0.0.0.0:8000', command: 'server --quick-init 0.0.0.0:8000',
// TODO: hack to workaround https://github.com/ArchiveBox/ArchiveBox/issues/1002 // TODO: hack to workaround https://github.com/ArchiveBox/ArchiveBox/issues/1002
@ -155,6 +157,8 @@ function(secrets={})
host:: 'archive', host:: 'archive',
}, },
firefly: { firefly: {
entrypoint: 'echo "firefly disabled"',
restart: 'no',
image: 'fireflyiii/core:latest', image: 'fireflyiii/core:latest',
environment: { environment: {
DB_CONNECTION: 'sqlite', DB_CONNECTION: 'sqlite',
@ -171,6 +175,8 @@ function(secrets={})
webPort:: 8080, webPort:: 8080,
}, },
actual: { actual: {
entrypoint: 'echo "actual disabled"',
restart: 'no',
image: 'jlongster/actual-server:latest', image: 'jlongster/actual-server:latest',
environment: { environment: {
userFilesPath: '/data/user', userFilesPath: '/data/user',