Files
noknok11d/task1-aws-proxy/docker-compose.yml
louiscklaw 8dcf5be358 update,
2025-02-01 02:04:33 +08:00

18 lines
586 B
YAML

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