Skip to content

Commit

Permalink
fix: .env.selfhost use localhost as default
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvedder committed May 25, 2023
1 parent f3e7061 commit 5dc73af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docker/docker-compose-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
FLUTTER_APP_FOLDER: app
STUDYU_ENV: selfhost
ports:
- 8080:8080
- 8080:8080 # StudyU App
- 8082:8082 # Supabase Studio (disable if you do not want to self-host Supabase on this machine)
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/.htpasswd:/etc/nginx/.htpasswd:ro
4 changes: 3 additions & 1 deletion docker/docker-compose-designer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
FLUTTER_APP_FOLDER: designer_v2
STUDYU_ENV: selfhost
ports:
- 8081:8081
- 8081:8081 # StudyU Designer
- 8082:8082 # Supabase Studio (disable if you do not want to self-host Supabase on this machine)
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/.htpasswd:/etc/nginx/.htpasswd:ro
4 changes: 2 additions & 2 deletions flutter_common/lib/envs/.env.selfhost
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
STUDYU_SUPABASE_URL=https://kaiyptvpquirkuopoohm.supabase.co
STUDYU_SUPABASE_PUBLIC_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImthaXlwdHZwcXVpcmt1b3Bvb2htIiwicm9sZSI6ImFub24iLCJpYXQiOjE2NzUxODA2MTUsImV4cCI6MTk5MDc1NjYxNX0.nvp3S0y4Aqe0RAfCpEvqbSeOtreFTM62EffVfeqnNjM
STUDYU_SUPABASE_URL=http://localhost:8082
STUDYU_SUPABASE_PUBLIC_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
STUDYU_PROJECT_GENERATOR_URL=
STUDYU_APP_URL=http://localhost:8080
STUDYU_DESIGNER_URL=http://localhost:8081

0 comments on commit 5dc73af

Please sign in to comment.