Workflow update

main
technorabilia 2 months ago
parent a6ab893d58
commit b9edb8c565

@ -0,0 +1,21 @@
This container needs special attention. Please check https://hub.docker.com/r/linuxserver/python for details.
---
version: "2.1"
services:
python:
image: ghcr.io/linuxserver/python
container_name: python
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}/python/config:/config
ports:
# Application WebUI
- 80:80
restart: unless-stopped

@ -0,0 +1,11 @@
This container needs special attention. Please check https://hub.docker.com/r/linuxserver/python for details.
. ./.env
docker run -d \
--name=python \
-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}/python/config:/config `# Configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/python

@ -0,0 +1,3 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/python/config
Loading…
Cancel
Save