-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (67 loc) · 1.75 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
70
71
72
services:
omniboard-app:
platform: linux/x86_64 # M1 workaround
image: omniboard/omniboard-app
restart: always
ports:
- 80:80
environment:
API_URL: http://localhost:8080
CONFIG_VARS: API_URL
omniboard-api:
image: omniboard/omniboard-api
restart: always
ports:
- 8080:8080
environment:
OB_ORG_NAME: 'Awesome Inc.'
OB_ORG_ADMIN_EMAIL: [email protected]
OB_ORG_ADMIN_PASSWORD_FILE: /run/secrets/api-admin-password
ENV: docker
TZ: UTC
PORT: 8080
OB_JWT_SECRET: something_unique_doesnt_really_matter_what
OB_DB_HOST: omniboard-db
OB_DB_DATABASE: omniboard
OB_DB_USERNAME_FILE: /run/secrets/db-user
OB_DB_PASSWORD_FILE: /run/secrets/db-user-password
secrets:
- db-user
- db-user-password
- db-root-password
- api-admin-password
omniboard-db:
platform: linux/x86_64 # M1 workaround
image: mysql:5.7.37
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_DATABASE: omniboard
MYSQL_USER_FILE: /run/secrets/db-user
MYSQL_PASSWORD_FILE: /run/secrets/db-user-password
MYSQL_ROOT_PASSWORD_FILE: /run/secrets/db-root-password
volumes:
- omniboard-db-data:/var/lib/mysql
secrets:
- db-user
- db-user-password
- db-root-password
adminer:
image: adminer
restart: always
ports:
- 8090:8080
environment:
ADMINER_DEFAULT_SERVER: omniboard-db
ADMINER_DESIGN: dracula
volumes:
omniboard-db-data:
secrets:
db-user:
file: ./db-user
db-user-password:
file: ./db-user-password
db-root-password:
file: ./db-root-password
api-admin-password:
file: ./api-admin-password