diff --git a/.env.example b/.env.example index e5b7678..65394ac 100644 --- a/.env.example +++ b/.env.example @@ -15,3 +15,7 @@ TWILIO_TWIML_APP_SID=APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # https://www.twilio.com/console/project/api-keys TWILIO_API_KEY=SKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX TWILIO_API_SECRET=XXXXXXXXXXXXXXXXX + + +# Your ngrok.io authentication token +NGROK_AUTHTOKEN=XXXXXXXXXXXXXXXXX diff --git a/docker-compose.yml b/docker-compose.yml index c51e1b4..6efc8b2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,3 +5,11 @@ services: build: . ports: - "3000:3000" + env_file: + - .env + ngrok: + restart: always + image: ngrok/ngrok:alpine + command: http app:3000 --log=stdout + env_file: + - .env