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