mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
Delete unnecessary container file
This commit is contained in:
parent
c315046568
commit
cee03cac4e
|
@ -1,45 +0,0 @@
|
||||||
[Container]
|
|
||||||
# It's recommended to replace :latest with a specific version
|
|
||||||
# for example: docker.io/copyparty/ac:latest
|
|
||||||
Image=docker.io/copyparty/ac:latest
|
|
||||||
ContainerName=copyparty
|
|
||||||
|
|
||||||
# Uncomment to enable auto-updates
|
|
||||||
# AutoUpdate=registry
|
|
||||||
|
|
||||||
# Environment variables
|
|
||||||
# enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram)
|
|
||||||
Environment=LD_PRELOAD=/usr/lib/libmimalloc-secure.so.NOPE
|
|
||||||
# ensures log-messages are not delayed (but can reduce speed a tiny bit)
|
|
||||||
Environment=PYTHONUNBUFFERED=1
|
|
||||||
|
|
||||||
# Ports
|
|
||||||
PublishPort=3923:3923
|
|
||||||
|
|
||||||
# Volumes
|
|
||||||
# Change to reflect your non-root user's home directory
|
|
||||||
Volume=/home/podman/copyparty/config:/cfg:z
|
|
||||||
# Change to the directory you want to share
|
|
||||||
Volume=/home/podman/copyparty/sharing:/w:z
|
|
||||||
|
|
||||||
# Give the container time to stop in case the thumbnailer is still running.
|
|
||||||
# It's allowed to continue finishing up for 10s after the shutdown signal, give it a 5s buffer
|
|
||||||
StopTimeout=15
|
|
||||||
|
|
||||||
# hide it from logs with "/._" so it matches the default --lf-url filter
|
|
||||||
HealthCmd="wget --spider -q 127.0.0.1:3923/?reset=/._"
|
|
||||||
HealthInterval=1m
|
|
||||||
HealthTimeout=2s
|
|
||||||
HealthRetries=5
|
|
||||||
HealthStartPeriod=15s
|
|
||||||
|
|
||||||
[Unit]
|
|
||||||
After=default.target
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
# Start by default on boot
|
|
||||||
WantedBy=default.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
# Give the container time to start in case it needs to pull the image
|
|
||||||
TimeoutStartSec=600
|
|
Loading…
Reference in a new issue