Commit cf839ce7 authored by Kutzner's avatar Kutzner 🤸
Browse files

add docker compose

parent c5d2649f
version: '3'
services:
database:
image: "postgres" # use latest official postgres version
env_file:
- database.env # configure postgres
ports:
- 5432:5432
\ No newline at end of file
POSTGRES_DB=kebidgedata
POSTGRES_USER=kebidge
POSTGRES_PASSWORD=password
\ No newline at end of file
version: '3'
services:
database:
container_name: postgresShoppingList
image: postgres
restart: always
env_file:
- database.env
ports:
- 5432:5432
\ No newline at end of file
spring.datasource.url=jdbc:postgresql://localhost:5432/kebidgedata
#spring.datasource.url=jdbc:postgresql://host.docker.internal:5432/kebidgedata
spring.datasource.username=kebidge
spring.datasource.password=password
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment