update,
This commit is contained in:
17
noknok11d/task1-aws-proxy/docker-compose.yml
Normal file
17
noknok11d/task1-aws-proxy/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user