forked from padloc/padloc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 1.02 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
version: "3.7"
services:
server:
build:
context: .
dockerfile: Dockerfile-server
environment:
- PL_PWA_URL
- PL_EMAIL_USER
- PL_EMAIL_SERVER
- PL_EMAIL_PORT
- PL_EMAIL_PASSWORD
- PL_EMAIL_FROM
- PL_REPORT_ERRORS
- PL_BILLING_ENABLED
- PL_BILLING_STRIPE_SECRET
- PL_BILLING_STRIPE_PUBLIC_KEY
- PL_MFA
- PL_REPL_PORT
ports:
- $PL_SERVER_PORT:3000
- $PL_BILLING_PORT:4000
volumes:
- ./data:/data
- ./docs:/docs
- ./logs:/logs
pwa:
build:
context: .
dockerfile: Dockerfile-pwa
environment:
- PL_SERVER_URL
- PL_PWA_URL
- PL_BILLING_ENABLED
- PL_BILLING_STRIPE_PUBLIC_KEY
ports:
- $PL_PWA_PORT:8000
volumes:
- ./pwa:/pwa
command: ["build_and_start"]