-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (69 loc) · 1.88 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3'
services:
api:
build: .
image: apigateway
ports:
- '0.0.0.0:3000:3000'
course:
build: services/course-service
image: twinte-cource-service-dev-image-for-apigateway
depends_on:
- postgres
timetable:
build: services/timetable-service
image: twinte-timetable-service-dev-image-for-apigateway
depends_on:
- postgres
school-calendar:
build: services/school-calendar-service
image: twinte-school-calendar-service-dev-image-for-apigateway
depends_on:
- postgres
donation:
build: services/donation-service
image: twinte-donation-service-dev-image-for-apigateway
env_file:
- ./.devcontainer/.donation.env
depends_on:
- postgres
information:
build: services/information-service
image: twinte-information-service-dev-image-for-apigateway
environment:
ADMIN_USER: test
depends_on:
- postgres
session:
build: services/session-service
image: twinte-session-service-dev-image-for-apigateway
environment:
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/twinte_session_service?schema=public
SESSION_LIFETIME_HOURS: 8760
depends_on:
- postgres
user:
build: services/user-service
image: twinte-user-service-dev-image-for-apigateway # old image: ghcr.io/twin-te/user-service:0.1.2
environment:
PG_HOST: postgres
PG_PORT: 5432
PG_USERNAME: postgres
PG_PASSWORD: postgres
PG_DATABASE: twinte_user_service
depends_on:
- postgres
callback:
image: ghcr.io/twin-te/callback-handler:0.1.6
env_file:
- ./.devcontainer/.callback.env
ports:
- '0.0.0.0:3001:3001'
depends_on:
- postgres
postgres:
image: postgres:13.1
environment:
POSTGRES_PASSWORD: postgres
volumes:
- ./.devcontainer/initdb/init.sql:/docker-entrypoint-initdb.d/init.sql