2023-01-10 16:09:56 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
|
|
|
image: solar-grabber:latest
|
|
|
|
build: .
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2023-01-13 11:57:19 +01:00
|
|
|
# Ensure that Rocket listens on 0.0.0.0, port 8000 for this!
|
2023-01-10 16:09:56 +01:00
|
|
|
- 2399:8000
|
|
|
|
volumes:
|
2023-01-13 11:57:19 +01:00
|
|
|
# Use a `Rocket.toml` or configure the credentials using environment variables below
|
2023-01-10 16:09:56 +01:00
|
|
|
- ./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'
|