Paul van Tilburg
745edea875
If Rocket is not configured to listen on 0.0.0.0:8000, exposing port 8000 on the inside to a chosen port (2399 by default), will not work.
26 lines
865 B
YAML
26 lines
865 B
YAML
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'
|