-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (56 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
56 lines (56 loc) · 1.36 KB
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
53
54
55
56
services:
mailcatcher:
image: dockage/mailcatcher:0.9.0
ports:
- 1080:1080
- 1025:1025
minio:
image: minio/minio:RELEASE.2025-02-18T16-25-55Z
ports:
- 9000:9000
- 9001:9001
command: 'server /data --console-address ":9001"'
volumes:
- ./data/minio:/data
db:
image: postgis/postgis:11-3.0-alpine
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ./data/postgres:/var/lib/postgresql/data
server:
build: .
image: peakresponse/peak-server
command: bash -l -c "bin/init; nf start -j Procfile.dev"
volumes:
- ~/.gitconfig:/root/.gitconfig
- ~/.ssh:/root/.ssh
- .:/opt/node/app
- /opt/node/app/node_modules
- /opt/node/app/angular/node_modules
environment:
- 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_BUCKET_REGION=us-east-1
- AWS_S3_ENDPOINT=http://minio:9000
ports:
- 3001:3001
- 4200:4200
depends_on:
- db
- minio
nginx:
build: ./nginx
image: peakresponse/peak-nginx
volumes:
- ./nginx/templates:/etc/nginx/templates
- ./nginx/letsencrypt:/etc/letsencrypt
env_file:
- ./.env
ports:
- 3000:3000
depends_on:
- server