-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
49 lines (45 loc) · 984 Bytes
/
docker-compose.yaml
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
version: '3.4'
services:
db:
image: postgres:16-alpine
env_file:
- .env
environment:
- POSTGRES_USER=kockatykalendar
- POSTGRES_PASSWORD=kockatykalendar
- POSTGRES_DB=kockatykalendar
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- "5433:5432"
web:
build:
context: .
image: kockatykalendar
env_file:
- .env
environment:
- DEBUG=True
- PARENT_HOST=localhost:8000
- REDIS_RQ_ASYNC=False
ports:
- "8000:8000"
volumes:
- ./kockatykalendar/:/app/
depends_on:
- db
command: "./entrypoint.sh dev"
tty: true
tailwind:
build:
context: .
target: cssbuild
volumes:
- ./kockatykalendar/:/app/kockatykalendar/
- ./css:/app/css/
command: "bun x @tailwindcss/cli@next -i css/app.css -o kockatykalendar/web/static/app.css --watch"
tty: true
redis:
image: redis:7.2.0
volumes:
postgres_data: