-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (49 loc) · 1.26 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
services:
db:
image: postgres:13
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
mailcatcher:
image: dockage/mailcatcher:0.8.2
ports:
- 1080:1080
- 1025:1025
minio:
image: minio/minio:RELEASE.2023-04-20T17-56-55Z
command: minio server --console-address ":9001" /data
ports:
- 9000:9000
- 9001:9001
volumes:
- ./data:/data
server:
build: .
command: bash -l -c "bin/init; nf --env=/dev/null start -j Procfile.dev"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ~/.aws:/root/.aws
- ~/.ssh:/root/.ssh
- .:/opt/node/app
- /opt/node/app/server/node_modules
- /opt/node/app/client/node_modules
- /opt/node/app/node_modules
environment:
- SMTP_HOST=mailcatcher
- SMTP_PORT=1025
- SMTP_USERNAME=none
- SMTP_PASSWORD=none
- PORT=3000
- DATABASE_URL=postgres://postgres@db/app
- AWS_S3_ACCESS_KEY_ID=minioadmin
- AWS_S3_SECRET_ACCESS_KEY=minioadmin
- AWS_S3_BUCKET=app
- AWS_S3_ENDPOINT=http://minio:9000
- AWS_S3_REGION=us-east-1
- AWS_S3_SIGNER_ENDPOINT=http://localhost:9000
ports:
- 3000:3000
- 3100:3100
depends_on:
- db
- mailcatcher
- minio