goatcounter + lyon-transports listen on localhost only

This commit is contained in:
Gabriel Augendre 2024-10-17 17:34:23 +02:00
parent 1d74e9609b
commit 6aa82a24d4
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ Description=Goatcounter
After=network.target After=network.target
[Service] [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 Type=simple
Restart=always Restart=always
User=gaugendre User=gaugendre

View file

@ -3,7 +3,7 @@ Description=Lyon transports API
After=network.target After=network.target
[Service] [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 Type=simple
Restart=always Restart=always
User=gaugendre User=gaugendre