-
-
Notifications
You must be signed in to change notification settings - Fork 109
/
docker-compose.yml
54 lines (51 loc) · 962 Bytes
/
docker-compose.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.1'
services:
thunderdome:
build:
context: .
dockerfile: ./build/Dockerfile
restart: always
ports:
- "8080:8080"
depends_on:
- db
links:
- db
networks:
- asgard
environment:
APP_DOMAIN: ".127.0.0.1"
COOKIE_SECURE: "false"
SMTP_SECURE: "false"
SMTP_HOST: mail
SMTP_PORT: 1025
DB_NAME: thunderdome
DB_USER: thor
DB_PASS: odinson
volumes:
- ./etc:/etc/thunderdome
db:
image: postgres:15
restart: always
environment:
POSTGRES_DB: thunderdome
POSTGRES_USER: thor
POSTGRES_PASSWORD: odinson
ports:
- 5432:5432
volumes:
- thunderdome_data:/var/lib/postgresql/data
networks:
- asgard
mail:
image: maildev/maildev:2.1.0
restart: always
ports:
- 1080:1080
- 1025:1025
networks:
- asgard
networks:
asgard:
volumes:
thunderdome_data: