services: metacrypt: build: context: ../.. dockerfile: Dockerfile container_name: metacrypt restart: unless-stopped ports: - "8443:8443" - "9443:9443" volumes: - metacrypt-data:/srv/metacrypt healthcheck: test: ["CMD", "metacrypt", "status", "--addr", "https://localhost:8443", "--ca-cert", "/srv/metacrypt/certs/ca.crt"] interval: 30s timeout: 5s retries: 3 start_period: 10s metacrypt-web: build: context: ../.. dockerfile: Dockerfile container_name: metacrypt-web command: ["/usr/local/bin/metacrypt-web", "--config", "/srv/metacrypt/metacrypt.toml"] restart: unless-stopped ports: - "8080:8080" volumes: - metacrypt-data:/srv/metacrypt depends_on: - metacrypt volumes: metacrypt-data: