-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathcompose.yaml
More file actions
60 lines (56 loc) · 1.6 KB
/
compose.yaml
File metadata and controls
60 lines (56 loc) · 1.6 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
services:
# Set up the faf db
faf-db:
image: mariadb:11
environment:
MARIADB_DATABASE: faf
MARIADB_USER: faf-api
MARIADB_PASSWORD: banana
MARIADB_ROOT_PASSWORD: banana
healthcheck:
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
interval: 10s
timeout: 5s
retries: 5
ports:
- "3306:3306"
faf-db-migrations:
image: faforever/faf-db-migrations:v140
command: migrate
environment:
FLYWAY_URL: jdbc:mysql://faf-db/faf?useSSL=false
FLYWAY_USER: root
FLYWAY_PASSWORD: banana
FLYWAY_DATABASE: faf
depends_on:
faf-db:
condition: service_healthy
faf-db-testdata:
image: mariadb:11
entrypoint: sh -c "apt-get update && apt-get install -y curl && curl -s https://raw.githubusercontent.com/FAForever/db/refs/heads/develop/test-data.sql | mariadb -h faf-db -uroot -pbanana -D faf"
depends_on:
faf-db-migrations:
condition: service_completed_successfully
minio:
image: docker.io/bitnami/minio:2025
ports:
- '9000:9000'
- '9001:9001'
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: banana123
MINIO_DEFAULT_BUCKETS: user-uploads
MINIO_SCHEME: http
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/ready" ]
interval: 2s
timeout: 2s
retries: 15
rabbitmq:
image: rabbitmq:3.13-management
environment:
RABBITMQ_DEFAULT_VHOST: /faf-core
RABBITMQ_DEFAULT_USER: faf-api
RABBITMQ_DEFAULT_PASS: banana
ports:
- "5672:5672"