mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 00:08:02 +01:00
goatcounter + lyon-transports listen on localhost only
This commit is contained in:
parent
1d74e9609b
commit
6aa82a24d4
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ Description=Goatcounter
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart={{ dir }}/goatcounter serve -listen *:8005 -tls http -smtp smtps://goatcounter%%40mg.augendre.info:{{gc_mailgun_api_key}}@smtp.mailgun.org:587 -email-from goatcounter@mg.augendre.info -automigrate -db sqlite+{{ dir }}/db/goatcounter.sqlite3
|
||||
ExecStart={{ dir }}/goatcounter serve -listen 127.0.0.1:8005 -tls http -smtp smtps://goatcounter%%40mg.augendre.info:{{gc_mailgun_api_key}}@smtp.mailgun.org:587 -email-from goatcounter@mg.augendre.info -automigrate -db sqlite+{{ dir }}/db/goatcounter.sqlite3
|
||||
Type=simple
|
||||
Restart=always
|
||||
User=gaugendre
|
||||
|
|
|
@ -3,7 +3,7 @@ Description=Lyon transports API
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart={{ dir }}/lyon-transports-linux-amd64 --host 0.0.0.0 --port 8013 -u {{ lyon_transports_username }} -p {{ lyon_transports_password }} --cors-allowed-origin https://display.augendre.info
|
||||
ExecStart={{ dir }}/lyon-transports-linux-amd64 --host 127.0.0.1 --port 8013 -u {{ lyon_transports_username }} -p {{ lyon_transports_password }} --cors-allowed-origin https://display.augendre.info
|
||||
Type=simple
|
||||
Restart=always
|
||||
User=gaugendre
|
||||
|
|
Loading…
Reference in a new issue