data files, set container names, enable ipv6
This commit is contained in:
parent
b74a877a6e
commit
6261b6d778
13 changed files with 447 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ After=network-online.target
|
|||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
AddCapability=NET_ADMIN
|
||||
ContainerName=caddy
|
||||
AddCapability=NET_ADMIN
|
||||
Image=ghcr.io/zenfyrdev/caddy:latest
|
||||
Network=host
|
||||
Volume=/etc/caddy:/etc/caddy:z
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
[Network]
|
||||
NetworkName=mastodon
|
||||
IPv6=true
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
Description=PostgreSQL Database
|
||||
|
||||
[Container]
|
||||
ContainerName=postgresql
|
||||
Image=registry.hub.docker.com/groonga/pgroonga:latest-alpine-18
|
||||
EnvironmentFile=/var/containers/postgresql/.env
|
||||
Network=postgresql.network
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
|
|||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
ContainerName=sharkey-activity
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
Environment=MISSKEY_CONFIG_YML=*.yml
|
||||
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
|
|||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
ContainerName=sharkey-api
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
Environment=MISSKEY_CONFIG_YML=*.yml
|
||||
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
Description=Sharkey's DragonflyDB process
|
||||
|
||||
[Container]
|
||||
ContainerName=sharkey-dfdb
|
||||
Environment="DFLY_snapshot_cron=* * * * *"
|
||||
Environment=DFLY_version_check=false
|
||||
Environment=DFLY_default_lua_flags=allow-undeclared-keys
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
|
|||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
ContainerName=sharkey-media
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
Environment=MISSKEY_CONFIG_YML=*.yml
|
||||
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ Requires=postgresql.service sharkey-dfdb.service
|
|||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
ContainerName=sharkey-worker
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
Environment=MISSKEY_CONFIG_YML=*.yml
|
||||
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
[Network]
|
||||
NetworkName=sharkey
|
||||
NetworkName=sharkey
|
||||
IPv6=true
|
||||
6
beeper/etc/systemd/system/cockpit.socket.d/override.conf
Normal file
6
beeper/etc/systemd/system/cockpit.socket.d/override.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# make cockpit only available on local IP
|
||||
|
||||
[Socket]
|
||||
ListenStream=
|
||||
ListenStream=127.0.0.1:9090
|
||||
FreeBind=yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue