]> Untitled Git - lemmy.git/commitdiff
Auto-configure federation test instances during initial start
authorFelix <me@nutomic.com>
Mon, 13 Apr 2020 17:55:43 +0000 (19:55 +0200)
committerFelix <me@nutomic.com>
Mon, 13 Apr 2020 17:55:43 +0000 (19:55 +0200)
docker/federation/docker-compose.yml

index fa95dc206a976ccdd99e2725f759a0b4b74b6cd1..216ac9a1d4730332a27a4511155f806647f02a2f 100644 (file)
@@ -27,6 +27,9 @@ services:
       - LEMMY_FEDERATION__FOLLOWED_INSTANCES=lemmy_beta:8550
       - LEMMY_FEDERATION__TLS_ENABLED=false
       - LEMMY_PORT=8540
+      - LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha
+      - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
+      - LEMMY_SETUP__SITE_NAME=lemmy_alpha
       - RUST_BACKTRACE=1
       - RUST_LOG=actix_web=debug
     restart: always
@@ -58,6 +61,9 @@ services:
       - LEMMY_FEDERATION__FOLLOWED_INSTANCES=lemmy_alpha:8540
       - LEMMY_FEDERATION__TLS_ENABLED=false
       - LEMMY_PORT=8550
+      - LEMMY_SETUP__ADMIN_USERNAME=lemmy_beta
+      - LEMMY_SETUP__ADMIN_PASSWORD=lemmy
+      - LEMMY_SETUP__SITE_NAME=lemmy_beta
       - RUST_BACKTRACE=1
       - RUST_LOG=actix_web=debug
     restart: always