Skip to content

Commit

Permalink
Add docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Sep 19, 2023
1 parent a37240b commit 9d348eb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ target
out
*.iml
.DS_Store
.env
17 changes: 17 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: "3.8"
services:
db:
image: postgres:16-alpine3.18
environment:
POSTGRES_PASSWORD: calypso

web:
build: .
environment:
JDBC_DATABASE_URL: "jdbc:postgresql://db:5432/postgres"
JDBC_DATABASE_USERNAME: postgres
JDBC_DATABASE_PASSWORD: calypso
APPLICATION_URL: http://localhost.datasektionen.se:3000
env_file: .env
ports:
- "3000:8080"

0 comments on commit 9d348eb

Please sign in to comment.