forked from RestyaPlatform/board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 966 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
version: "2"
services:
restyaboard:
build: .
ports:
- 1234:80
environment:
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_ADMIN_USER=postgres
- POSTGRES_ADMIN_PASS=admin
- RESTYA_DB_USERNAME=restya
- RESTYA_DB_USERPASS=restya
- RESTYA_DB=restyaboard
#- SMTP_SERVER=smtp_relay
#- SMTP_PORT=587
#- TZ=Etc/UTC
depends_on:
- postgres
restart: always
# See https://hub.docker.com/r/boky/postfix for documentation
# or try https://github.com/WeAreGenki/docker-smtp
smtp_relay:
image: boky/postfix
environment:
- RELAYHOST=fakesmtp2:25
- ALLOW_EMPTY_SENDER_DOMAINS=true
# Check messages at localhost:1080
fakesmtp2:
image: tophfr/mailcatcher
ports:
#- "1025:25"
- "1080:80"
postgres:
image: postgres:12-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=admin
restart: always