Work with env var port for mooncrawl service

pull/525/head
kompotkot 2022-01-18 09:22:18 +00:00
rodzic 7947d6f3f7
commit bb30fe44c1
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -11,8 +11,8 @@ WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
Restart=on-failure
RestartSec=15s
ExecStart=/home/ubuntu/moonstream-env/bin/uvicorn --host "${AWS_LOCAL_IPV4}" --port 7491 --workers 4 mooncrawl.api:app
ExecStart=/home/ubuntu/moonstream-env/bin/uvicorn --host "${AWS_LOCAL_IPV4}" --port "${MOONSTREAM_CRAWLERS_SERVER_PORT}" --workers 4 mooncrawl.api:app
SyslogIdentifier=mooncrawl
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target