services: sojuboy: build: . image: sojuboy:latest container_name: sojuboy restart: unless-stopped env_file: .env ports: - "127.0.0.1:8080:8080" volumes: - sojuboy_data:/data healthcheck: test: ["CMD", "/sojuboy", "--health"] interval: 30s timeout: 3s retries: 3 volumes: sojuboy_data: {}