-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
38 lines (36 loc) · 1.11 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
38 lines (36 loc) · 1.11 KB
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
services:
backend:
build:
context: ./backend
args:
APP_VERSION: ${APP_VERSION:-v0.0.0-dev}
GIT_SHA: ${GIT_SHA:-unknown}
env_file: .env
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro # only needed if you use custom certificates in you environment
environment:
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt # only needed if you use custom certificates in you environment
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt # only needed if you use custom certificates in you environment
restart: unless-stopped
depends_on:
mailpit:
condition: service_started
frontend:
build:
context: ./frontend
args:
PUBLIC_DEFAULT_LOCALE: ${PUBLIC_DEFAULT_LOCALE:-en}
APP_VERSION: ${APP_VERSION:-v0.0.0-dev}
GIT_SHA: ${GIT_SHA:-unknown}
ports:
- "8001:80"
restart: unless-stopped
mailpit:
image: axllent/mailpit:latest
ports:
- "1025:1025"
- "8025:8025"
restart: unless-stopped