Skip to content

Commit

Permalink
🔨 Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColman committed Jan 2, 2024
1 parent 408a2e8 commit 260754a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
version: "3.8"

services:

postgres:
image: postgres
image: postgres:16
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: "password"
POSTGRES_USER: "jopiter"
POSTGRES_DB: "jopiter"

jopiter:
image: jopiterapp/jopiter-backend:latest
depends_on:
- postgres
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/jopiter
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/jopiter

volumes:
postgres-data:

0 comments on commit 260754a

Please sign in to comment.