diff --git a/playbooks/apps/templates/goatcounter/goatcounter.service.j2 b/playbooks/apps/templates/goatcounter/goatcounter.service.j2 index 70d40e5..9ac492b 100644 --- a/playbooks/apps/templates/goatcounter/goatcounter.service.j2 +++ b/playbooks/apps/templates/goatcounter/goatcounter.service.j2 @@ -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 diff --git a/playbooks/apps/templates/lyon-transports/lyon-transports.service.j2 b/playbooks/apps/templates/lyon-transports/lyon-transports.service.j2 index 0b27189..7928d89 100644 --- a/playbooks/apps/templates/lyon-transports/lyon-transports.service.j2 +++ b/playbooks/apps/templates/lyon-transports/lyon-transports.service.j2 @@ -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