-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
41 lines (38 loc) · 1.24 KB
/
Copy pathcompose.yaml
File metadata and controls
41 lines (38 loc) · 1.24 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
name: boqiang-projectmanagerbs-production
services:
backend:
image: "${BACKEND_IMAGE:?BACKEND_IMAGE must be set}"
environment:
ASPNETCORE_ENVIRONMENT: Production
ASPNETCORE_URLS: http://+:8080
AllowedHosts: "*"
ConnectionStrings__Default: "${ASTERERP_CONNECTION_STRING:-Data Source=/app/data/astererp.db}"
Cors__FrontendOrigin: "${FRONTEND_ORIGIN:-http://localhost:8080}"
DataProtection__KeysPath: /app/data/data-protection-keys
ObjectStorage__Provider: FileSystem
ObjectStorage__FileSystem__BasePath: /app/data/uploads
ObjectStorage__FileSystem__AppendContainerNameToBasePath: "false"
DistributedLock__FilePath: /app/data/distributed-locks
Scheduler__HangfireStoragePath: /app/data/astererp-hangfire.db
volumes:
- "${ASTERERP_DATA_DIR:-./deploy-data}:/app/data"
expose:
- "8080"
networks:
app-network:
aliases:
- backend
restart: unless-stopped
frontend:
image: "${FRONTEND_IMAGE:?FRONTEND_IMAGE must be set}"
depends_on:
- backend
ports:
- "8080:80"
networks:
- app-network
restart: unless-stopped
networks:
app-network:
name: boqiang-projectmanagerbs-production-network
driver: bridge