forked from shutuper/InfoMail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 1.18 KB
/
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
services:
infomail:
image: shutuper/infomail-back #name of infomail-back image
ports:
- "8028:8028"
environment:
MAIL_HOST: localhost
MAIL_PORT: 1025
MAIL_EMAIL: infomail
MAIL_PASSWORD: infomail
DB_HOST: localhost:8026
DB_USERNAME: infomail
DB_PASSWORD: infomail
INFOMAIL_FRONT_URL: http://localhost:4200
INFOMAIL_FRONT_REG_LINK: http://localhost:4200/#/auth/registration/
INFOMAIL_SECURITY_SECRET: onfn923oiNkfJj32fsl230cdl3mcLNL42lfl932O23Fknlfsdlsf32f04f
networks:
- cicd_default
client:
image: lastzloid/infomail_front #name of infomail_front image
ports:
- "4200:80"
networks:
- cicd_default
database:
image: postgres
ports:
- "8026:5432"
environment:
POSTGRES_USER: infomail
POSTGRES_PASSWORD: infomail
POSTGRES_DB: infomail
networks:
- cicd_default
mailhog:
image: mailhog/mailhog
restart: always
logging:
driver: 'none' # disable saving logs
ports:
- 1025:1025 # smtp server
- 8025:8025 # web ui
networks:
- cicd_default
networks:
cicd_default:
driver: bridge