-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
42 lines (38 loc) · 804 Bytes
/
compose.yml
File metadata and controls
42 lines (38 loc) · 804 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
38
39
40
41
42
services:
db:
image: postgres:16
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
volumes:
- postgres_data:/var/lib/postgresql/data/
web:
build:
context: .
ports:
- "8000:8000"
volumes:
- ./seminare:/app/seminare
- ./uploads:/app/uploads
- ./private:/app/private
environment:
- DEBUG=True
- DATABASE_URL=psql://postgres:postgres@db/postgres
env_file:
- .env
depends_on:
- db
command: "/app/entrypoint.sh dev"
tailwind:
build:
context: .
target: cssbuild
volumes:
- ./seminare:/app/seminare
- ./tailwind.config.js:/app/tailwind.config.js
tty: true
redis:
image: redis
volumes:
postgres_data: