-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 826 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 826 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
31
32
33
34
35
36
37
version: '3.7'
services:
htmx-server:
build:
context: .
dockerfile: ./build/fastapi/Dockerfile
target: production
container_name: htmx
environment:
directus_host: http://directus:8055
ports:
- 8000:80
volumes:
- ./src/app:/app/app
directus:
image: directus/directus:10.7.1
container_name: directus
ports:
- 8055:8055
volumes:
- directus_database:/directus/database
- directus_uploads:/directus/uploads
environment:
KEY: "replace-with-random-value"
SECRET: "replace-with-random-value"
ADMIN_EMAIL: "admin@example.com"
ADMIN_PASSWORD: "d1r3ctu5"
DB_CLIENT: "sqlite3"
DB_FILENAME: "/directus/database/data.db"
WEBSOCKETS_ENABLED: true
volumes:
directus_database:
directus_uploads: