Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
128 lines (119 loc) · 3.23 KB
/
Copy pathcompose.yaml
File metadata and controls
128 lines (119 loc) · 3.23 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
services:
rucq:
build:
context: .
dockerfile: Dockerfile
ports:
- "${RUCQ_PORT:-8080}:8080"
environment:
DB_USER: root
DB_PASSWORD: password
DB_HOST: mariadb
DB_PORT: 3306
DB_NAME: rucq
RUCQ_ENV: "development"
RUCQ_CORS_ALLOW_ORIGINS: "*"
TRAQ_API_BASE_URL: "http://traq_server:3000/api/v3"
env_file:
- path: .env
required: false
depends_on:
mariadb:
condition: service_healthy
develop:
watch:
- action: rebuild
path: .
mariadb:
image: mariadb:11.8.6-noble@sha256:78a5047d3ba33975f183f183c2464cc7f1eab13ec8667e57cc9a5821d6da7577
ports:
- "${MARIADB_PORT:-3306}:3306"
environment:
MARIADB_ROOT_PASSWORD: password
volumes:
- type: volume
source: mariadb_data
target: /var/lib/mysql
- type: bind
source: ./dev/db/
target: /docker-entrypoint-initdb.d/
healthcheck:
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
start_period: 10s
interval: 5s
timeout: 10s
retries: 10
swagger:
image: swaggerapi/swagger-ui:v5.32.1@sha256:74e37eb854b2cec5a8bcfdc4b0604a0354fbbf7209b68c3357d3221286bcb1dc
ports:
- "${SWAGGER_PORT:-8081}:8080"
environment:
SWAGGER_JSON: /openapi/openapi.yaml
volumes:
- type: bind
source: ./
target: /openapi/
adminer:
image: adminer:5.4.2@sha256:af4b73ddc41b7f7bb5e614eef1f35ba998307be2c8d1c54bf4890e8b946c6e67
ports:
- "${ADMINER_PORT:-8082}:8080"
environment:
ADMINER_DEFAULT_SERVER: mariadb
depends_on:
mariadb:
condition: service_healthy
caddy:
image: caddy:2.11.2-alpine@sha256:834468128c7696cec0ceea6172f7d692daf645ae51983ca76e39da54a97c570d
env_file:
- path: .env
required: false
ports:
- ${CADDY_RUCQ_PORT:-3002}:3002
- ${CADDY_RUCQ_ADMIN_PORT:-3003}:3003
- ${CADDY_TRAQ_PORT:-3000}:3000
volumes:
- type: bind
source: ./dev/caddy/
target: /etc/caddy/
depends_on:
- rucq_ui
- rucq_admin
- traq_server
- traq_ui
rucq_ui:
image: ghcr.io/traptitech/rucq-ui:1.2.5@sha256:5a0b617d766094caf41575855119a97286728f6b02a02f7f7873e01e679bb320
expose:
- 80
rucq_admin:
image: ghcr.io/traptitech/rucq-admin:1.0.0@sha256:5fb98cd1c3e48a5eb01dd52e64de9e66a934f757988c836b6b0721b51dff3509
expose:
- 80
traq_server:
image: ghcr.io/traptitech/traq:3.28.0@sha256:a5349a4f93e262093dbed54a1de02210aab64d9912b9a7217ac6a808067fb5f2
environment:
TRAQ_ALLOWSIGNUP: true
TRAQ_MARIADB_HOST: mariadb
TRAQ_STORAGE_LOCAL_DIR: /app/storage
volumes:
- type: volume
source: traq_storage
target: /app/storage
ports:
- "${TRAQ_SERVER_PORT:-3001}:3000"
expose:
- 3000
depends_on:
mariadb:
condition: service_healthy
traq_ui:
image: ghcr.io/traptitech/traq-ui:3.31.3@sha256:4e65f52fb792ae9907711bb7084875f3bbab77f806a95278c9379cb3abf75671
volumes:
- type: volume
source: traq_override
target: /app/override
expose:
- 80
volumes:
mariadb_data:
traq_storage:
traq_override: