36 lines
827 B
Plaintext
36 lines
827 B
Plaintext
[Unit]
|
|
Description=Koel - Server
|
|
Requires=koel-db.service
|
|
After=koel-db.service
|
|
|
|
[Container]
|
|
Pod=koel.pod
|
|
ContainerName=koel-server
|
|
Image=docker.io/phanan/koel
|
|
|
|
# Environment=APP_KEY=
|
|
# Environment=DB_HOST=
|
|
# Environment=DB_DATABASE=
|
|
# Environment=DB_PASSWORD=
|
|
# Environment=DB_USERNAME=
|
|
# Environment=FORCE_HTTPS=
|
|
EnvironmentFile=/mnt/data/containers/koel/.env.koel-server
|
|
|
|
Volume=/mnt/data/containers/koel/image_storage:/var/www/html/public/img/storage
|
|
Volume=/mnt/data/containers/koel/search_index:/var/www/html/storage/search-indexes
|
|
|
|
Volume=/mnt/audio/Sorted:/music
|
|
|
|
Label=homepage.group=Media
|
|
Label=homepage.name=Koel
|
|
Label=homepage.icon=koel.png
|
|
Label=homepage.href=https://koel.inkletblot.com
|
|
Label=homepage.description="Music Streaming"
|
|
|
|
[Service]
|
|
Restart=always
|
|
TimeoutStartSec=300
|
|
|
|
[Install]
|
|
WantedBy=default.target
|