-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
96 lines (89 loc) · 2.13 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
96 lines (89 loc) · 2.13 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: '3.3'
services:
# landing:
# container_name: fit_landing-b
# image: "fullstackfit_landing:b.${IMAGE_TAG}"
# build:
# context: ./landing
# dockerfile: Dockerfile
# ports:
# - 8000:80
frontend:
container_name: fit_frontend-dev
image: fullstackfit_frontend:dev
build:
context: ./frontend
dockerfile: Dockerfile-dev
volumes:
- './frontend:/app'
ports:
- 4200:4200
depends_on:
- database
- iam
- liquibase
- backend
backend:
container_name: fit_backend-b
image: "fullstackfit_backend:dev"
build:
context: ./backend
dockerfile: Dockerfile
ports:
- 5000:5000
depends_on:
- iam
- database
- liquibase
liquibase:
container_name: fit_liquibase-b
image: "fullstackfit_liquibase:dev"
build:
context: ./database/liquibase
dockerfile: Dockerfile
volumes:
- "./database/liquibase/changes/:/liquibase/changelog/"
depends_on:
- iam
- database
environment:
- LIQUIBASE_URL=jdbc:postgresql://database:5432/postgres
- LIQUIBASE_CHANGELOG=/liquibase/changelog/changelog.xml
- LIQUIBASE_USERNAME=postgres
- LIQUIBASE_PASSWORD=postgres
command:
- "update"
iam:
container_name: fit_iam-b
image: "fullstackfit_iam:dev"
build:
context: ./iam
dockerfile: Dockerfile
ports:
- 8080:8080
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- PROXY_ADDRESS_FORWARDING=true
- DB_VENDOR=postgres
- DB_USER=postgres
- DB_PASSWORD=postgres
- DB_ADDR=database
- DB_PORT=5432
- DB_DATABASE=postgres
- DB_SCHEMA=iam
# - KEYCLOAK_FRONTEND_URL=http://localhost/auth
depends_on:
- database
database:
container_name: fit_database-b
image: docker.io/bitnami/postgresql:15.1.0-debian-11-r12 ## Same as the one from the chart
environment:
- POSTGRES_USER=postgres
- POSTGRES_password=postgres
ports:
- 5432:5432
volumes:
- data:/var/lib/postgresql/data
volumes:
data: