image: ekidd/rust-musl-builder:experimental-stable
user: root
environment:
- - LEMMY_JWT_SECRET=changeme
- - LEMMY_FEDERATION__ENABLED=true
- - LEMMY_TLS_ENABLED=false
- - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
- - LEMMY_RATE_LIMIT__POST=99999
- - LEMMY_RATE_LIMIT__REGISTER=99999
- - LEMMY_CAPTCHA__ENABLED=false
- - RUST_BACKTRACE=1
- - RUST_LOG=debug
+ LEMMY_JWT_SECRET=changeme
+ LEMMY_FEDERATION__ENABLED=true
+ LEMMY_TLS_ENABLED=false
+ LEMMY_SETUP__ADMIN_PASSWORD=lemmy
+ LEMMY_RATE_LIMIT__POST=99999
+ LEMMY_RATE_LIMIT__REGISTER=99999
+ LEMMY_CAPTCHA__ENABLED=false
+ RUST_BACKTRACE=1
+ RUST_LOG=debug
# TODO: these are different for each instance
- - LEMMY_HOSTNAME=lemmy-alpha:8541
- - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
- - LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon
- #- LEMMY_PORT=8541
- - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
- - LEMMY_SETUP__SITE_NAME=lemmy-alpha
+ LEMMY_HOSTNAME=lemmy-alpha:8541
+ LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
+ LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon
+ #LEMMY_PORT=8541
+ LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
+ LEMMY_SETUP__SITE_NAME=lemmy-alpha
commands:
- mkdir -p volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
- chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon}