Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
kebidge
ShoppingApp
Commits
cf839ce7
Commit
cf839ce7
authored
Jan 25, 2022
by
Kutzner
🤸
Browse files
add docker compose
parent
c5d2649f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Docker_Compose.yml
deleted
100644 → 0
View file @
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
database.env
0 → 100644
View file @
cf839ce7
POSTGRES_DB=kebidgedata
POSTGRES_USER=kebidge
POSTGRES_PASSWORD=password
\ No newline at end of file
docker-compose.yml
0 → 100644
View file @
cf839ce7
version
:
'
3'
services
:
database
:
container_name
:
postgresShoppingList
image
:
postgres
restart
:
always
env_file
:
-
database.env
ports
:
-
5432:5432
\ No newline at end of file
src/main/resources/application-prod.properties
View file @
cf839ce7
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment