version: '3' services: server: image: solar-grabber:latest build: . restart: unless-stopped ports: # Ensure that Rocket listens on 0.0.0.0, port 8000 for this! - 2399:8000 volumes: # Use a `Rocket.toml` or configure the credentials using environment variables below - ./Rocket.toml:/app/Rocket.toml environment: ROCKET_LOG_LEVEL: normal # Available levels are: off, debug, normal, critical # For My Autarco, use the these variabels and uncomment them # ROCKET_KIND: MyAutarco # ROCKET_USERNAME: foo@domain.tld # ROCKET_PASSWORD: secret # ROCKET_SITE_ID: abc123de # For Hoymiles, use the these variabels and uncomment them # ROCKET_KIND: HoyMiles # ROCKET_USERNAME: foo@domain.tld # ROCKET_PASSWORD: secret # ROCKET_SID: 123456 shm_size: '2gb'