-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 866 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (28 loc) · 866 Bytes
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
services:
backend:
build: ./backend
environment:
DATABASE_URL: sqlite:////data/elementa.db
SECRET_KEY: changeme_secret_key_please_update
ACCESS_TOKEN_EXPIRE_MINUTES: 60
FIRST_ADMIN_USERNAME: admin
FIRST_ADMIN_PASSWORD: changeme123
FIRST_ADMIN_EMAIL: admin@elementa.local
# For same-server / Cloudflare-tunnel deployments: set this to the internal
# port Tessera is reachable on from inside Docker (e.g. http://host.docker.internal:8520)
# so backend→backend calls bypass the public tunnel.
TESSERA_INTERNAL_URL: ${TESSERA_INTERNAL_URL:-}
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- elementa_data:/data
ports:
- "8232:8000"
frontend:
build: ./frontend
ports:
- "8231:80"
depends_on:
- backend
volumes:
elementa_data: