-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathdocker-compose-petclinic.yml
More file actions
29 lines (29 loc) · 988 Bytes
/
docker-compose-petclinic.yml
File metadata and controls
29 lines (29 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: "3"
services:
petclinic_graphql_db:
image: postgres:16.1-alpine
command: ["postgres", "-c", "log_statement=all"]
container_name: petclinic_graphql_db
environment:
- POSTGRES_PASSWORD=secretpw
- POSTGRES_USER=klaus
- POSTGRES_DB=petclinic_graphql_db
- POSTGRES_INITDB_ARGS=--locale-provider=icu --icu-locale=en
petclinic_graphql_backend:
image: spring-petclinic/petclinic-graphql-backend:0.0.1
container_name: petclinic_graphql_backend
depends_on:
- petclinic_graphql_db
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://petclinic_graphql_db:5432/petclinic_graphql_db
- SPRING_DATASOURCE_USERNAME=klaus
- SPRING_DATASOURCE_PASSWORD=secretpw
ports:
- "3091:9977"
petclinic_graphql_frontend:
image: spring-petclinic/petclinic-graphql-frontend:0.0.1
container_name: petclinic_graphql_frontend
depends_on:
- petclinic_graphql_backend
ports:
- "3090:3090"