Initial version of smartbooking generated by generator-jhipster@9.0.0-beta.0
This commit is contained in:
19
src/main/docker/postgresql.yml
Normal file
19
src/main/docker/postgresql.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
|
||||
name: smartbooking
|
||||
services:
|
||||
postgresql:
|
||||
image: postgres:18.1
|
||||
# volumes:
|
||||
# - ~/volumes/jhipster/smartbooking/postgresql/:/var/lib/postgresql/data/
|
||||
environment:
|
||||
- POSTGRES_USER=smartbooking
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'pg_isready -U $${POSTGRES_USER}']
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
# If you want to expose these ports outside your dev PC,
|
||||
# remove the "127.0.0.1:" prefix
|
||||
ports:
|
||||
- 127.0.0.1:5432:5432
|
||||
Reference in New Issue
Block a user