comment out safetwitch from upgrades

This commit is contained in:
Ruben 2025-12-28 22:53:22 -06:00
commit bfdb3a7e4c
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583
2 changed files with 7 additions and 34 deletions

View file

@ -242,7 +242,7 @@ function system_upgrade {
update_docker_container "/srv/docker" "freshrss" "compose.yaml" update_docker_container "/srv/docker" "freshrss" "compose.yaml"
update_docker_container "/srv/docker" "mailserver" "compose.yaml" update_docker_container "/srv/docker" "mailserver" "compose.yaml"
update_docker_container "/srv/docker" "redlib" "compose.yaml" update_docker_container "/srv/docker" "redlib" "compose.yaml"
update_docker_container "/srv/docker" "safetwitch" "compose.yaml" #update_docker_container "/srv/docker" "safetwitch" "compose.yaml"
update_docker_container "/srv/docker" "vaultwarden" "compose.yaml" update_docker_container "/srv/docker" "vaultwarden" "compose.yaml"
update_docker_container "/srv/docker" "zitadel" "compose.yaml" update_docker_container "/srv/docker" "zitadel" "compose.yaml"
update_docker_container "/srv/docker/forgejo" "runner" "compose.yaml" update_docker_container "/srv/docker/forgejo" "runner" "compose.yaml"

View file

@ -17,9 +17,8 @@ services:
ports: ports:
- "192.168.1.73:60628:3001" - "192.168.1.73:60628:3001"
networks: networks:
- ip6net
- db - db
- sharkey - shonk
env_file: env_file:
- .env.secrets # secrets contains our db password and stuff like that - .env.secrets # secrets contains our db password and stuff like that
environment: environment:
@ -38,7 +37,7 @@ services:
restart: always restart: always
networks: networks:
- db - db
- sharkey - shonk
env_file: env_file:
- .env.secrets - .env.secrets
environment: environment:
@ -57,9 +56,8 @@ services:
ports: ports:
- "192.168.1.73:47815:3002" - "192.168.1.73:47815:3002"
networks: networks:
- ip6net
- db - db
- sharkey - shonk
env_file: env_file:
- .env.secrets - .env.secrets
environment: environment:
@ -80,9 +78,8 @@ services:
ports: ports:
- "192.168.1.73:57378:3003" - "192.168.1.73:57378:3003"
networks: networks:
- ip6net
- db - db
- sharkey - shonk
env_file: env_file:
- .env.secrets - .env.secrets
environment: environment:
@ -96,33 +93,12 @@ services:
- ./media:/sharkey/.config - ./media:/sharkey/.config
- ./default.yml:/sharkey/.config/default.yml:ro - ./default.yml:/sharkey/.config/default.yml:ro
# dragonflydb (redis), as is required by misskey for a good amount of data
dragonflydb:
image: docker.dragonflydb.io/dragonflydb/dragonfly
restart: always
ulimits:
memlock: -1
networks:
- sharkey
environment:
# these envvars are important in order for dragonflydb/misskey to interact with each other properly, and to load and save all data properly
DFLY_snapshot_cron: '* * * * *'
DFLY_version_check: false
DFLY_default_lua_flags: allow-undeclared-keys # without this, dfdb would immediately complain loading data
DFLY_dbfilename: 'dump.rdb' # misskey expects this
DFLY_df_snapshot_format: false # misskey doesn't know how to handle dfdb's format
DFLY_dir: '/data' # directory with the snapshot/data
volumes:
- ./dfdb:/data
# dragonflydb, for caching and required by *key for storing important data # dragonflydb, for caching and required by *key for storing important data
dfdb: dfdb:
image: docker.dragonflydb.io/dragonflydb/dragonfly image: docker.dragonflydb.io/dragonflydb/dragonfly
restart: always restart: always
ulimits:
memlock: -1
networks: networks:
- sharkey - shonk
environment: environment:
# these envvars are important in order for dragonflydb/misskey to interact with each other properly, and to load and save all data properly # these envvars are important in order for dragonflydb/misskey to interact with each other properly, and to load and save all data properly
DFLY_snapshot_cron: '* * * * *' DFLY_snapshot_cron: '* * * * *'
@ -139,7 +115,4 @@ networks:
db: db:
name: postgres_db name: postgres_db
external: true external: true
ip6net: shonk:
name: ip6net
external: true
sharkey: