blob: 8fbf296796a831f18ba5b66d9f85c412705a63f3 (
plain)
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
|
services:
app:
container_name: microblog-app
build:
context: .
target: app
expose:
- "3000"
volumes:
- ./data:/app/data
environment:
- NODE_ENV=production
- DB_PATH=/app/data/microblog.db
- SESSION_SECRET=${SESSION_SECRET}
- REGISTER_TOKEN=${REGISTER_TOKEN}
- API_TOKEN=${API_TOKEN}
- WEBAUTHN_RP_ID=blog.yyamashita.com
- WEBAUTHN_ORIGIN=https://blog.yyamashita.com
restart: unless-stopped
networks:
- web
networks:
web:
external: true
name: web
|