-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 1.04 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
services:
server:
build:
context: .
dockerfile: Dockerfile
target: server
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
- API_KEY=${API_KEY:?API_KEY is required}
- CORS_ORIGIN=${CORS_ORIGIN:-http://localhost:8080}
- API_PLAN=${API_PLAN:-Max}
- OWNER_SITE=${OWNER_SITE:-mrdemonwolf.com}
- BILLING_RENEWAL_DAY=${BILLING_RENEWAL_DAY:-6}
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL:-}
- DATABASE_PATH=/app/data/protoburn.db
- PORT=3000
volumes:
- protoburn-data:/app/data
web:
build:
context: .
dockerfile: Dockerfile
target: web
args:
NEXT_PUBLIC_SERVER_URL: ${NEXT_PUBLIC_SERVER_URL:-http://localhost:3000}
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-http://localhost:8080}
NEXT_PUBLIC_API_PLAN: ${NEXT_PUBLIC_API_PLAN:-Max}
restart: unless-stopped
ports:
- "${WEB_PORT:-8080}:8080"
depends_on:
server:
condition: service_healthy
volumes:
protoburn-data: