Skip to content

Commit

Permalink
Add docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
sahinakkaya committed Dec 6, 2024
1 parent 9e7eba2 commit 87fdf02
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions infra/docker/.env.blackjack-backend
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALLOW_ORIGINS='["https://blackjack.sahinakkaya.dev"]' # use '["host1", "host2"]' to separate multiple origins
1 change: 1 addition & 0 deletions infra/docker/.env.blackjack-frontend
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_SOCKET_URL=https://blackjack-backend.sahinakkaya.dev
15 changes: 15 additions & 0 deletions infra/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
services:
blackjack-frontend:
image: ghcr.io/sahinakkaya/blackjack-frontend:main
env_file:
- .env.blackjack-frontend
ports:
- "8432:8000"


blackjack-backend:
image: ghcr.io/sahinakkaya/blackjack-backend:main
env_file:
- .env.blackjack-backend
ports:
- "8433:3000"

0 comments on commit 87fdf02

Please sign in to comment.