NextWks/compose/launcher.yaml

25 lines
608 B
YAML

services:
launcher:
image: alpine:latest
container_name: launcher
restart: unless-stopped
expose:
- "9000"
volumes:
- /opt/nextworkspace/:/opt/nextworkspace/
working_dir: /opt/nextworkspace
command: /opt/nextworkspace/nextworkspace
env_file: /opt/nextworkspace/.env
environment:
- CONFIG_DIR=/opt/nextworkspace/config/nextworkspace
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:9000/health"]
interval: 30s
timeout: 10s
retries: 3
networks:
- nextwks-net
networks:
nextwks-net:
external: true