-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 1.27 KB
/
docker-compose.yml
File metadata and controls
49 lines (46 loc) · 1.27 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
42
43
44
45
46
47
48
49
---
services:
db:
build:
context: ./pocketbase
dockerfile: Dockerfile
restart: unless-stopped
healthcheck:
test: [CMD, wget, --spider, -q, http://localhost:8090/api/health]
interval: 10s
retries: 5
start_period: 30s
timeout: 5s
environment:
APP_NAME: Fushigi
APP_URL: http://localhost:8090
SENDER_ADDRESS: tahoeschrader@gmail.com
SENDER_NAME: "Fushigi App"
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
SMTP_USERNAME: ${SMTP_EMAIL}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: ${SMTP_PORT}
PB_ENCRYPTION_KEY: ${PB_ENCRYPTION_KEY}
ports:
- 8090:8090
volumes:
- pb_data:/pb/pb_data
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
environment:
VITE_API_BASE: http://localhost:8090
ports:
- 5173:5173
volumes:
- ./frontend/src:/app/src:cached
- ./frontend/static:/app/static:cached
- ./frontend/components.json:/app/components.json:cached
- ./frontend/svelte.config.js:/app/svelte.config.js:cached
- ./frontend/vite.config.ts:/app/vite.config.ts:cached
- ./frontend/tsconfig.json:/app/tsconfig.json:cached
volumes:
pb_data: