38 lines
912 B
Plaintext
38 lines
912 B
Plaintext
[Unit]
|
|
Description=Firefly - Server
|
|
Requires=firefly-db.service
|
|
After=firefly-db.service
|
|
|
|
[Container]
|
|
Pod=firefly.pod
|
|
ContainerName=firefly-server
|
|
Image=docker.io/fireflyiii/core:latest
|
|
|
|
# Environment=APP_KEY=
|
|
# Environment=DB_HOST=
|
|
# Environment=DB_PORT=
|
|
# Environment=DB_CONNECTION=
|
|
# Environment=DB_DATABASE=
|
|
# Environment=DB_PASSWORD=
|
|
# Environment=DB_USERNAME=
|
|
# Environment=FORCE_HTTPS=
|
|
# Environment=TRUSTED_PROXIES=
|
|
# Environment=DEFAULT_LOCALE=
|
|
EnvironmentFile=/mnt/data/containers/firefly/.env.firefly-server
|
|
|
|
Volume=/mnt/data/containers/firefly/data:/var/www/html/storage/upload
|
|
Volume=/usr/lib/locale/locale-archive:/usr/lib/locale/locale-archive:Z
|
|
|
|
Label=homepage.group=Life
|
|
Label=homepage.name="Firefly"
|
|
Label=homepage.icon=firefly.png
|
|
Label=homepage.href=http://firefly.forest
|
|
Label=homepage.description="Budgeting"
|
|
|
|
[Service]
|
|
Restart=always
|
|
TimeoutStartSec=300
|
|
|
|
[Install]
|
|
WantedBy=default.target
|