-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
42 lines (42 loc) · 1.04 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
version: '3'
services:
db:
image: postgres:12.4
environment:
POSTGRES_USER: conferences
POSTGRES_PASSWORD: conferences
ports:
- "5432:5432"
maildev:
image: maildev/maildev
environment:
MAILDEV_INCOMING_USER: mailuser
MAILDEV_INCOMING_PASS: mailpassword
ports:
- "1080:1080"
- "1025:1025"
web:
build: .
command: nodemon --inspect=0.0.0.0:9229 ./index.js
links:
- db
- maildev
env_file:
- .env.conferences.dev
environment:
DATABASE_URL: postgres://conferences:conferences@db:5432/conferences
# ANNOUNCEMENTS: "<a href='test'>test</a>|<h1>test</h1>"
MAIL_USER: mailuser
MAIL_PASS: mailpassword
MAIL_HOST: maildev
MAIL_IGNORE_TLS: "true"
MAIL_PORT: 1025
MAIL_SENDER_EMAIL: [email protected]
SECRET: secret
ENCRYPT_SECRET: un_secret_avec_exactement_64_bit
POLL_URL: https://github.com/betagouv/conferences/issues
ports:
- "8080:8080"
- "9229:9229"
volumes:
- .:/app