-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (58 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
63 lines (58 loc) · 1.18 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
services:
julius:
build:
context: .
dockerfile: Dockerfile
command: serve
environment:
API_PORT: 3000
API_HOST: 0.0.0.0
METRICS_PORT: 3001
METRICS_HOST: 0.0.0.0
DATABASE_HOST: db
DATABASE_USER: julius
DATABASE_PASSWORD: julius
DATABASE_NAME: julius
SMTP_HOST: smtp
SMTP_TLS: false
SMTP_PORT: 25
SMTP_USER: julius@julius.local
SMTP_PASSWORD: julius
SMTP_FROM: julius@julius.local
ports:
- "3000:3000"
- "3001:3001"
depends_on:
- db
networks:
- julius
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: julius
POSTGRES_PASSWORD: julius
POSTGRES_DB: julius
ports:
- "5432:5432"
volumes:
- db-data:/var/lib/postgresql/data
networks:
- julius
smtp:
image: ghcr.io/docker-mailserver/docker-mailserver:13.3.1
hostname: smtp.julius.local
environment:
ENABLE_RSPAMD: "0"
ENABLE_CLAMAV: "0"
ENABLE_FAIL2BAN: "0"
ENABLE_AMAVIS: "0"
ports:
- "993:993"
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- julius
volumes:
db-data:
networks:
julius: