data files, set container names, enable ipv6

This commit is contained in:
Ruben 2025-12-30 15:10:08 -06:00
commit 6261b6d778
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583
13 changed files with 447 additions and 2 deletions

View file

@ -4,8 +4,8 @@ After=network-online.target
Wants=network-online.target Wants=network-online.target
[Container] [Container]
AddCapability=NET_ADMIN
ContainerName=caddy ContainerName=caddy
AddCapability=NET_ADMIN
Image=ghcr.io/zenfyrdev/caddy:latest Image=ghcr.io/zenfyrdev/caddy:latest
Network=host Network=host
Volume=/etc/caddy:/etc/caddy:z Volume=/etc/caddy:/etc/caddy:z

View file

@ -1 +1,3 @@
[Network] [Network]
NetworkName=mastodon
IPv6=true

View file

@ -2,6 +2,7 @@
Description=PostgreSQL Database Description=PostgreSQL Database
[Container] [Container]
ContainerName=postgresql
Image=registry.hub.docker.com/groonga/pgroonga:latest-alpine-18 Image=registry.hub.docker.com/groonga/pgroonga:latest-alpine-18
EnvironmentFile=/var/containers/postgresql/.env EnvironmentFile=/var/containers/postgresql/.env
Network=postgresql.network Network=postgresql.network

View file

@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
Wants=network-online.target Wants=network-online.target
[Container] [Container]
ContainerName=sharkey-activity
Image=registry.activitypub.software/transfem-org/sharkey:develop Image=registry.activitypub.software/transfem-org/sharkey:develop
Environment=MISSKEY_CONFIG_YML=*.yml Environment=MISSKEY_CONFIG_YML=*.yml
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config Environment=MISSKEY_CONFIG_DIR=/sharkey/.config

View file

@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
Wants=network-online.target Wants=network-online.target
[Container] [Container]
ContainerName=sharkey-api
Image=registry.activitypub.software/transfem-org/sharkey:develop Image=registry.activitypub.software/transfem-org/sharkey:develop
Environment=MISSKEY_CONFIG_YML=*.yml Environment=MISSKEY_CONFIG_YML=*.yml
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config Environment=MISSKEY_CONFIG_DIR=/sharkey/.config

View file

@ -2,6 +2,7 @@
Description=Sharkey's DragonflyDB process Description=Sharkey's DragonflyDB process
[Container] [Container]
ContainerName=sharkey-dfdb
Environment="DFLY_snapshot_cron=* * * * *" Environment="DFLY_snapshot_cron=* * * * *"
Environment=DFLY_version_check=false Environment=DFLY_version_check=false
Environment=DFLY_default_lua_flags=allow-undeclared-keys Environment=DFLY_default_lua_flags=allow-undeclared-keys

View file

@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
Wants=network-online.target Wants=network-online.target
[Container] [Container]
ContainerName=sharkey-media
Image=registry.activitypub.software/transfem-org/sharkey:develop Image=registry.activitypub.software/transfem-org/sharkey:develop
Environment=MISSKEY_CONFIG_YML=*.yml Environment=MISSKEY_CONFIG_YML=*.yml
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config Environment=MISSKEY_CONFIG_DIR=/sharkey/.config

View file

@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
Wants=network-online.target Wants=network-online.target
[Container] [Container]
ContainerName=sharkey-worker
Image=registry.activitypub.software/transfem-org/sharkey:develop Image=registry.activitypub.software/transfem-org/sharkey:develop
Environment=MISSKEY_CONFIG_YML=*.yml Environment=MISSKEY_CONFIG_YML=*.yml
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config Environment=MISSKEY_CONFIG_DIR=/sharkey/.config

View file

@ -1,2 +1,3 @@
[Network] [Network]
NetworkName=sharkey NetworkName=sharkey
IPv6=true

View file

@ -0,0 +1,6 @@
# make cockpit only available on local IP
[Socket]
ListenStream=
ListenStream=127.0.0.1:9090
FreeBind=yes

View file

File diff suppressed because one or more lines are too long