-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
37 lines (33 loc) · 1.04 KB
/
docker-compose.dev.yml
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
# This configuration is not meant for production use.
services:
backend: &backend
build:
dockerfile: Dockerfile
target: dev
env_file: [docker/env, docker/env-dev]
environment:
DEBUG_SERVER: ${DEBUG_SERVER}
volumes:
- ./turtlemail/:/usr/share/turtlemail/turtlemail/
- ./pyproject.toml:/usr/share/turtlemail/pyproject.toml
- ./poetry.lock:/usr/share/turtlemail/poetry.lock
- ./manage.py:/usr/share/turtlemail/manage.py
- ./docker/entrypoint.sh:/usr/bin/turtlemailctl
worker:
<<: *backend
nginx:
depends_on: [backend, vite]
vite:
build:
dockerfile: docker/vite.Dockerfile
context: .
ports: ['8638:8638']
volumes:
- ./turtlemail:/app/turtlemail/
- ./src/:/app/src/
- ./package.json:/app/package.json
- ./package-lock.json:/app/package-lock.json
- ./postcss.config.js:/app/postcss.config.js
- ./tailwind.config.js:/app/tailwind.config.js
- ./tsconfig.json:/app/tsconfig.json
- ./vite.config.ts:/app/vite.config.ts