-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
124 lines (96 loc) · 2.75 KB
/
docker-compose.yaml
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
services:
contember-engine:
image: contember/engine:1.3.6
environment:
NODE_ENV: 'development'
CONTEMBER_PORT: '4000'
CONTEMBER_ROOT_EMAIL: 'contember@localhost'
CONTEMBER_ROOT_PASSWORD: 'contember'
CONTEMBER_ROOT_TOKEN: '0000000000000000000000000000000000000000' # openssl rand -hex 20
CONTEMBER_LOGIN_TOKEN: '1111111111111111111111111111111111111111' # openssl rand -hex 20
CONTEMBER_ENCRYPTION_KEY: '2222222222222222222222222222222222222222222222222222222222222222' # openssl rand -hex 32
DEFAULT_DB_HOST: 'postgres'
DEFAULT_DB_PORT: '5432'
DEFAULT_DB_NAME: 'contember'
DEFAULT_DB_USER: 'contember'
DEFAULT_DB_PASSWORD: 'contember'
DEFAULT_S3_ENDPOINT: 'http://localhost:1483'
DEFAULT_S3_BUCKET: 'contember'
DEFAULT_S3_REGION: ''
DEFAULT_S3_KEY: 'contember'
DEFAULT_S3_SECRET: 'contember'
DEFAULT_S3_PROVIDER: 'minio'
TENANT_MAILER_HOST: 'mailhog'
TENANT_MAILER_PORT: '1025'
TENANT_MAILER_FROM: 'contember@localhost'
ports:
- '1481:4000'
healthcheck:
test: 'curl --fail http://localhost:4000'
interval: 5s
timeout: 5s
retries: 10
depends_on:
postgres:
condition: service_healthy
contember-cli:
image: contember/cli:1.3.6
user: '1000:1000'
deploy:
replicas: 0
environment:
CONTEMBER_API_URL: 'http://contember-engine:4000/'
CONTEMBER_API_TOKEN: '0000000000000000000000000000000000000000'
CONTEMBER_PROJECT_NAME: 'systematic-synthesizer'
volumes:
- ./:/src
depends_on:
contember-engine:
condition: service_healthy
postgres:
image: postgres:14-alpine
environment:
POSTGRES_USER: 'contember'
POSTGRES_PASSWORD: 'contember'
POSTGRES_DB: 'contember'
ports:
- '1482:5432'
volumes:
- pgsql-data:/var/lib/postgresql/data
healthcheck:
test: 'pg_isready --username contember'
interval: 5s
timeout: 5s
retries: 10
minio:
image: bitnami/minio
environment:
MINIO_ROOT_USER: 'contember'
MINIO_ROOT_PASSWORD: 'contember'
MINIO_DEFAULT_BUCKETS: 'contember:download'
ports:
- '1483:9000'
volumes:
- minio-data:/data
mailhog:
image: mailhog/mailhog
ports:
- '1484:8025'
adminer:
image: michalhosna/adminer:4.8.0-en_v1
environment:
ADMINER_DRIVER: 'pgsql'
ADMINER_SERVER: 'postgres'
ADMINER_DB: 'contember'
ADMINER_USERNAME: 'contember'
ADMINER_PASSWORD: 'contember'
ADMINER_AUTOLOGIN: '1'
ADMINER_NAME: 'Contember'
ports:
- '1485:8080'
depends_on:
postgres:
condition: service_healthy
volumes:
pgsql-data: ~
minio-data: ~