-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
52 lines (52 loc) · 1.48 KB
/
docker-compose.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.8"
services:
gamify:
image: skilltree/skills-service:2.7.0
container_name: gamify
depends_on:
- gamify_postgres
ports:
- "8080:8080"
environment:
- SPRING_PROPS=spring.datasource.url=jdbc:postgresql://${POSTGRES_HOST}:5432/${POSTGRES_DB},
spring.datasource.username=${POSTGRES_USER},
spring.datasource.password=${POSTGRES_PASSWORD},
- _JAVA_OPTIONS=-Ddebug=debug
gamify_postgres:
image: postgres:14
container_name: gamify_postgres
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "5432:5432"
gamify_authentication:
container_name: gamify_authentication
build:
context: authenticator
ports:
- "8090:8090"
environment:
AUTHENTICATION_PORT: ${AUTHENTICATION_PORT}
SERVICE_URL: ${SERVICE_URL}
ROOT_USER_USERNAME: ${ROOT_USER_USERNAME}
ROOT_USER_PASSWORD: ${ROOT_USER_PASSWORD}
depends_on:
- gamify
restart: on-failure
volumes:
- ./authenticator/src:/usr/src/myapp/src
gamify_dataimporter:
container_name: gamify-dataimporter
build:
context: dataimporter
environment:
DATAIMPORT_PORT: ${DATAIMPORT_PORT}
SERVICE_URL: ${SERVICE_URL}
ROOT_USER_USERNAME: ${ROOT_USER_USERNAME}
ROOT_USER_PASSWORD: ${ROOT_USER_PASSWORD}
depends_on:
- gamify
volumes:
- ./dataimporter/src:/usr/src/myapp/src