diff --git a/.env b/.env index b7692f8..83e0192 100644 --- a/.env +++ b/.env @@ -18,12 +18,12 @@ TRAEFIK_DASHBOARD_PORT_OUT=8080 MOSQUITTO_PORT_OUT=8087 TDD_PORT_OUT=8081 -STACK_HOSTNAME="plugfest.thingweb.io" -BROKER_URI="plugfest.thingweb.io" +STACK_HOSTNAME="localhost" +BROKER_URI="localhost" PORT=8087 # OAUTH & GITHUB FORWARD AUTH -OAUTH_SECRET= +OAUTH_SECRET=secret GITHUB_AUTH_URL=https://github.com/login/oauth/authorize GITHUB_TOKEN_URL=https://github.com/login/oauth/access_token GITHUB_USER_URL=https://api.github.com/user @@ -48,4 +48,4 @@ HC_RETRIES=3 HC_START_PERIOD=60s # Use the local filepath in your computer -CONFIG_FILEPATH="" +CONFIG_FILEPATH="/Users/egekorkan/git/infrastructure/conf" diff --git a/docker-compose-services.yml b/docker-compose-services.yml index f36b646..a818cda 100644 --- a/docker-compose-services.yml +++ b/docker-compose-services.yml @@ -14,6 +14,8 @@ services: - "--metrics.prometheus=true" - "--metrics.prometheus.buckets=0.1,0.3,1.2,5.0" - "--entrypoints.web.address=:${WEB_PORT_IN}" + - "--entryPoints.websecure.address=:443" + - "--certificatesresolvers.acmeresolver.acme.httpchallenge.entrypoint=web" - "--entrypoints.modbus-elevator.address=:${MODBUS_ELEVATOR_PORT_IN}" - "--entrypoints.coap-calculator-simple.address=:${COAP_SIMPLE_PORT_IN}/udp" - "--entrypoints.coap-calculator-content-negotiation.address=:${COAP_NEGOTIATION_PORT_IN}/udp"