-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yaml
69 lines (64 loc) · 1.67 KB
/
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
name: myboothmanager
networks:
default:
name: myboothmanager
external: true
services:
admin:
build:
context: .
dockerfile: ./projects/Admin/Containerfile
args:
GIT_HASH: ${GIT_COMMIT_HASH}
API_SERVER_URL: "http://localhost:31111"
PUBLIC_APP_URL: "http://localhost:31113"
BASE_PATH: "/admin"
ports:
- "31112:31112"
depends_on:
- backend
restart: unless-stopped
public:
build:
context: .
dockerfile: ./projects/Public/Containerfile
args:
GIT_HASH: ${GIT_COMMIT_HASH}
environment:
NITRO_PORT: 31113
GIT_HASH: ${GIT_COMMIT_HASH}
NUXT_PUBLIC_API_SERVER_URL: "http://localhost:31111"
NUXT_PUBLIC_API_SERVER_UPLOADS_PATH: "uploads"
NUXT_APP_BASE_PATH: "/"
ports:
- "31113:31113"
depends_on:
- backend
restart: unless-stopped
backend:
build:
context: .
dockerfile: ./projects/Backend/Containerfile
volumes:
- mbm-uploads:/app/uploads
ports:
- "31111:31111"
environment:
TRUST_LOCALHOST_PROXY: true
API_SERVER_PORT: 31111
SUPERADMIN_ID: admin
SUPERADMIN_PASS: should1be2changed!
SUPERADMIN_DISCORD_WEBHOOK_URL: https://discord.com/api/webhooks/...
MYSQL_HOST: 127.0.0.1
MYSQL_PORT: 3306
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_DATABASE: myboothmanager
SEQUELIZE_TIMEZONE: +09:00
JWT_SECRET: som_myboothmanager_ni
COOKIE_SECRET: in_myboothmanager_mos
FRONTEND_ADMIN_URL: "http://localhost:31112"
FRONTEND_PUBLIC_URL: "http://localhost:31113"
restart: unless-stopped
volumes:
mbm-uploads: