Skip to content

Commit

Permalink
Merge branch 'main' into ezra/dev/fix-login-redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrajames committed Jul 17, 2022
2 parents ef1abb1 + e35f426 commit 8d1d5c3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@ prune:
env:
@echo "Setting up default env"
@cp app/api/.env-example app/api/.env
@cp app/web/.env-example app/web/.env.local

stop:
@echo "Stopping containers..."
@docker compose down

clean: stop |
@echo "Cleaning up all container artifacts..."
@docker system prune -f -a --volumes
@docker system prune -f -a --volumes
@echo "Deleting thicc node_modules"
@rm -rf app/web/node_modules
@echo "Deleting .next build artifacts"
@rm -rf app/web/.next
1 change: 1 addition & 0 deletions app/web/.env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_HOSTNAME="http://localhost:5000/"
6 changes: 5 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ services:
dockerfile: Dockerfile
target: development
volumes:
- ./app/web:/code
- ./app/web/contexts:/code/contexts
- ./app/web/pages:/code/pages
- ./app/web/public:/code/public
- ./app/web/styles:/code/styles
- ./app/web/utils:/code/utils
ports:
- 3000:3000
depends_on:
Expand Down

0 comments on commit 8d1d5c3

Please sign in to comment.