mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 07:36:01 +00:00
use hosts file
This commit is contained in:
parent
30a1a69850
commit
0c89e9c2d6
|
@ -15,6 +15,10 @@ for INSTANCE in lemmy_alpha lemmy_beta lemmy_gamma lemmy_delta lemmy_epsilon; do
|
||||||
psql "$LEMMY_DATABASE_URL" -c "CREATE DATABASE $INSTANCE"
|
psql "$LEMMY_DATABASE_URL" -c "CREATE DATABASE $INSTANCE"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for INSTANCE in lemmy_alpha lemmy_beta lemmy_gamma lemmy_delta lemmy_epsilon; do
|
||||||
|
echo "127.0.0.1 $INSTANCE" >> /etc/hosts
|
||||||
|
done
|
||||||
|
|
||||||
echo "start alpha"
|
echo "start alpha"
|
||||||
LEMMY_HOSTNAME=lemmy-alpha:8541 \
|
LEMMY_HOSTNAME=lemmy-alpha:8541 \
|
||||||
LEMMY_PORT=8541 \
|
LEMMY_PORT=8541 \
|
||||||
|
|
Loading…
Reference in a new issue