-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (53 loc) · 1.96 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
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
VITE_Genesys_OIDC_AUTHORITY: 'https://api.sandbox.genesys-pgr.org'
VITE_Genesys_OIDC_CLIENT_ID: '<ask Genesys support for your OIDC Client ID>'
VITE_Genesys_OIDC_CLIENT_SECRET: '<ask Genesys support for your OIDC Client Secret>'
VITE_Genesys_OIDC_REDIRECT_URI: 'http://127.0.0.1:3000'
VITE_FRONTEND_DEV_HOST: '127.0.0.1'
VITE_FRONTEND_DEV_PORT: 3000
VITE_GENOLINK_SERVER: 'http://127.0.0.1:3000'
VITE_GENESYS_SERVER: 'https://api.sandbox.genesys.pgr.org'
ports:
- '3000:3000'
environment:
# Frontend-Variables
VITE_Genesys_OIDC_AUTHORITY: 'https://api.sandbox.genesys-pgr.org'
VITE_Genesys_OIDC_CLIENT_ID: '<ask Genesys support for your OIDC Client ID>'
VITE_Genesys_OIDC_CLIENT_SECRET: '<ask Genesys support for your OIDC Client Secret>'
VITE_Genesys_OIDC_REDIRECT_URI: 'http://127.0.0.1:3000'
VITE_FRONTEND_DEV_HOST: '127.0.0.1'
VITE_FRONTEND_DEV_PORT: 3000
VITE_GENOLINK_SERVER: 'http://127.0.0.1:3000'
VITE_GENESYS_SERVER: 'https://api.sandbox.genesys.pgr.org'
# Backend-Variables
DB_USERNAME: '<your_db_username>'
DB_PASSWORD: '<your_db_password>'
DB_NAME: '<your_db_name>'
DB_HOST: 'db'
DB_DIALECT: 'mysql'
GIGWA_SERVER: '<your_gigwa_server_url>'
GERMINATE_SERVER: '<your_germinate_server_url>'
GENOLINK_SERVER: 'http://127.0.0.1:3000'
GENESYS_SERVER: 'https://api.sandbox.genesys.pgr.org/api/v1/acn'
GENOLINK_SERVER_PORT: 3000
depends_on:
- db
restart: always
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: '<your_root_password>'
MYSQL_DATABASE: '<same_as_your_db_name>'
MYSQL_USER: '<same_as_your_db_username>'
MYSQL_PASSWORD: '<your_db_password>'
ports:
- '3307:3306'
volumes:
- mysql_data:/var/lib/mysql
volumes:
mysql_data: