Files
docker-pybrickscode/docker-compose.build.yml
T
2023-11-06 22:55:38 +01:00

16 lines
434 B
YAML

services:
# Pybricks Code
pybrickscode:
container_name: ${PYBRICKSCODE_CONTAINER_NAME:-PybricksCode}
build:
context: .
dockerfile: Dockerfile
args:
NODE_TAG: ${NODE_TAG:-12.18.3}
PYBRICKSCODE_TAG: ${PYBRICKSCODE_TAG:-v1.0.0-beta.15}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:80/ || exit 1
ports:
- ${PYBRICKSCODE_PORT:-80}:80