Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[skillbased.io](http://skillbased.io) is a service that is aimed to provide players of casual, "pick-up" type sports to quickly and easily create balanced teams for their activity, and save those teams to create elevated levels of competition.

Deploy locally with: `docker-compose -f deploy/compose/docker-compose.yml up --build`

## Tech
### Stack
- Frontend: [NextJS](https://nextjs.org/)
Expand Down
39 changes: 39 additions & 0 deletions deploy/compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

version: '2'

services:
skillbased-backend:
container_name: skillbased-backend
# Use this if you want to run against upstream latest image
# image: adamdevigili/balancer.team-api:latest
build:
context: ../../backend
dockerfile: Dockerfile
ports:
- "127.0.0.1:8080:8080"
environment:
PG_HOST: postgres
PG_PORT: 5432
PG_USER: user
PG_PASSWORD: ball
PG_DATABASE: skillbased

skillbased-frontend:
container_name: skillbased-frontend
# Use this if you want to run against upstream latest image
# image: adamdevigili/balancer.team-frontend:latest
build:
context: ../../frontend
dockerfile: Dockerfile
ports:
- "127.0.0.1:3000:3000"

postgres:
restart: always
image: postgres
ports:
- 127.0.0.1:5432:5432
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: ball
POSTGRES_DB: skillbased