forked from Enforcer/clean-architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 894 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 894 Bytes
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
version: '3.1'
services:
app:
build: .
volumes:
- "./auctioning_platform/:/usr/src/app"
ports:
- "5000:5000"
environment:
PAYMENTS_LOGIN: empty
PAYMENTS_PASSWORD: empty
EMAIL_HOST: localhost
EMAIL_PORT: 2525
EMAIL_USERNAME: none
EMAIL_PASSWORD: none
EMAIL_FROM_NAME: Auctions
EMAIL_FROM_ADDRESS: auctions@cleanarchitecture.io
DB_DSN: postgresql+psycopg2://postgres:cleanarchitecture@database/cleanarchitecture
REDIS_HOST: redis
depends_on:
- database
database:
image: postgres:12
environment:
POSTGRES_PASSWORD: cleanarchitecture
POSTGRES_DB: cleanarchitecture
smtp_server:
image: mailhog/mailhog
ports:
- "8025:8025"
- "12525:2525"
environment:
- MH_SMTP_BIND_ADDR=0.0.0.0:2525
redis:
image: redis:5
ports:
- "6379:6379"