Skip to content

Commit

Permalink
feat: setup nextjs test package, breakout commands, add backend to de…
Browse files Browse the repository at this point in the history
…vcontainer
  • Loading branch information
SomethingSexy committed Nov 19, 2024
1 parent 0564fb8 commit a08524e
Show file tree
Hide file tree
Showing 10 changed files with 5,715 additions and 5,395 deletions.
21 changes: 21 additions & 0 deletions .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,24 @@ services:
volumes:
- ../..:/workspaces:cached
command: sleep infinity

chronicle:
image: "ghcr.io/somethingsexy/chronicle:latest"
environment:
- DATABASE_URL=postgres://postgres:postgres@db:5432/chronicle?sslmode=disable
ports:
- 5001:3000

db:
image: postgres
restart: always
# set shared memory limit when using docker-compose
shm_size: 128mb
environment:
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}
- POSTGRES_DB=${POSTGRES_DB:-chronicle}
- POSTGRES_HOST=${POSTGRES_HOST:-db}
ports:
- 5432:5432
Loading

0 comments on commit a08524e

Please sign in to comment.