Skip to content

Commit

Permalink
bug ngrok
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammarmoulla committed Oct 14, 2023
1 parent 6a40385 commit 9d98fd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/django.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3
- name: Set up environment variables
run: |
# echo "authtoken: ${{ secrets.NGROK_AUTH }}" >> ./config/ngrok.yml
echo "authtoken: ${{ secrets.NGROK_AUTH }}" >> ./config/ngrok.yml
echo "SECRET_KEY=${{ secrets.SECRET_KEY }}" >> .env
echo "CELERY_BROKER_URL='redis://redis:6379'" >> .env
echo "CELERY_RESULT_BACKEND='redis://redis:6379'" >> .env
Expand Down
5 changes: 0 additions & 5 deletions config/ngrok.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
region: us
version: '2'
authtoken: '2WTyw9mpd4rAEVKvkY8VJM5QdWw_37U8my8fPchiy8FGBrAS7'
tunnels:
app:
proto: http
addr: 8000
10 changes: 3 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ services:
build:
context: .
dockerfile: Dockerfile
hostname: app
ports:
- '8000:8000'
- '8000:8000'
hostname: app
stdin_open: true
expose:
- '8000'
Expand Down Expand Up @@ -52,11 +52,7 @@ services:
ngrok:
image: ngrok/ngrok:latest
restart: unless-stopped
command:
- "start"
- "--all"
- "--config"
- "/etc/ngrok.yml"
command: "ngrok http app:8000"
volumes:
- ./config/ngrok.yml:/etc/ngrok.yml
networks:
Expand Down

0 comments on commit 9d98fd7

Please sign in to comment.