services: towercore: image: towercore:final-mips64le platform: linux/mips64le restart: unless-stopped init: true stop_grace_period: 10s cpus: "2.0" mem_limit: 1g pids_limit: 256 ulimits: nofile: {soft: 2048, hard: 2048} privileged: false read_only: true cap_drop: ["ALL"] security_opt: ["no-new-privileges:true"] env_file: - path: ./config.env required: false ports: - "7250:7250" volumes: - towercore_mips_state:/var/lib/towercore healthcheck: test: ["CMD", "/towerctl", "hello", "127.0.0.1:7250"] interval: 30s timeout: 5s retries: 5 logging: driver: json-file options: max-size: "10k" max-file: "3" volumes: towercore_mips_state: