This commit is contained in:
louiscklaw
2025-01-31 21:11:21 +08:00
parent 653422de08
commit fcbf2fd71d
12 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
services:
tinyproxy:
# Specifies the Docker image to use for the tinyproxy service
image: vimagick/tinyproxy
ports:
# Maps port 8888 inside the container to port 5354 on the host
- "5354:8888"
volumes:
# Mounts the host directory './data' to '/etc/tinyproxy' inside the container
- ./data:/etc/tinyproxy
# Mounts the host file 'tinyproxy.conf' to the container's tinyproxy configuration file
- ./tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf
# Ensures the container always restarts unless manually stopped
restart: always