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

16 lines
433 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.1.0-beta.4}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:80/ || exit 1
ports:
- ${PYBRICKSCODE_PORT:-80}:80