diff --git a/lsio/socket-proxy/docker-compose.yaml b/lsio/socket-proxy/docker-compose.yaml new file mode 100644 index 0000000..35d35cf --- /dev/null +++ b/lsio/socket-proxy/docker-compose.yaml @@ -0,0 +1,21 @@ +This container needs special attention. Please check https://hub.docker.com/r/linuxserver/socket-proxy for details. +--- +version: "2.1" +services: + socket-proxy: + image: ghcr.io/linuxserver/socket-proxy + container_name: socket-proxy + environment: + # for UserID + - PUID=${PUID:-1024} + # for GroupID + - PGID=${PGID:-100} + # specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). + - TZ=${TZ:-Europe/Amsterdam} + volumes: + # Configuration files. + - ${BASEDIR:-/volume1/docker}/socket-proxy/config:/config + ports: + # Application WebUI + - 80:80 + restart: unless-stopped diff --git a/lsio/socket-proxy/docker-run.sh b/lsio/socket-proxy/docker-run.sh new file mode 100644 index 0000000..35dbb14 --- /dev/null +++ b/lsio/socket-proxy/docker-run.sh @@ -0,0 +1,11 @@ +This container needs special attention. Please check https://hub.docker.com/r/linuxserver/socket-proxy for details. +. ./.env +docker run -d \ + --name=socket-proxy \ + -e PUID=${PUID:-1024} `# for UserID` \ + -e PGID=${PGID:-100} `# for GroupID` \ + -e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \ + -p 80:80 `# Application WebUI` \ + -v ${BASEDIR:-/volume1/docker}/socket-proxy/config:/config `# Configuration files.` \ + --restart unless-stopped \ + ghcr.io/linuxserver/socket-proxy diff --git a/lsio/socket-proxy/run-once.sh b/lsio/socket-proxy/run-once.sh new file mode 100644 index 0000000..ac08b70 --- /dev/null +++ b/lsio/socket-proxy/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/socket-proxy/config