appstore-1panel/apps/python/3.10.15/docker-compose.yml
2024-10-21 15:42:35 +08:00

19 lines
399 B
YAML

services:
node:
image: python:${PYTHON_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
restart: on-failure:5
networks:
1panel-network:
external: true