version: '3' services: app: build: . restart: always ports: - "8000:1993" environment: - APPLICATION_NAME=${APPLICATION_NAME-My Deno Application} - VERSION=${VERSION-0.1.0} - DEBUG_LEVEL=${DEBUG_LEVEL-INFO} - DOCKER_USER_AGENT=${DOCKER_USER_AGENT-docker wget} - GREETING=${GREETING-hello world!} - TZ=${TZ-GMT} volumes: - ./src:/app/src:ro command: ["deno", "task", "dev"] healthcheck: test: ["CMD", "wget", "--user-agent=${DOCKER_USER_AGENT-docker wget}", "--no-verbose", "--tries=1", "--spider", "http://localhost:1993/health"] interval: 10s timeout: 2s retries: 3