kopia lustrzana https://github.com/bugout-dev/moonstream
Work with env var port for mooncrawl service
rodzic
7947d6f3f7
commit
bb30fe44c1
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue