-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
66 lines (63 loc) · 2 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
services:
api:
platform: linux/amd64
build: ./api/
restart: 'always'
links:
- postgis
- store
ports:
- "5000:5000"
- "5001:5001"
environment:
- CLOUDTAK_Mode=docker-compose
- CLOUDTAK_Config_media_url=http://media
- CLOUDTAK_Config_media_username=management
- CLOUDTAK_Config_media_password=ChangeMeInProduction
- SigningSecret=coe-wildland-fire
- ASSET_BUCKET=cloudtak
- AWS_S3_Endpoint=http://store:9000
- AWS_S3_AccessKeyId=cloudtakminioadmin
- AWS_S3_SecretAccessKey=cloudtakminioadmin
- POSTGRES=postgres://docker:docker@postgis:5432/gis
- API_URL=localhost:5000
- ROOT_URL=localhost:5001
media:
build: https://github.com/dfpc-coe/media-infra.git
restart: 'always'
environment:
- FORCE_NEW_CONFIG=false
- MANAGEMENT_PASSWORD=ChangeMeInProduction
ports:
- 9997:9997
- 8554:8554
- 1935:1935
- 8888:8888
- 8890:8890
volumes:
- .docker-media:/opt/mediamtx
postgis:
platform: linux/amd64
image: postgis/postgis:17-3.4-alpine
restart: 'always'
ports:
- 5433:5432
environment:
- POSTGRES_DB=gis
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
store:
platform: linux/amd64
image: minio/minio:RELEASE.2024-08-17T01-24-54Z
entrypoint: sh
command: -c 'mkdir -p /data/cloudtak && /usr/bin/minio server /data --console-address ":9001"'
restart: 'always'
volumes:
- .docker-store:/data
ports:
- 9000:9000
- 9001:9001
environment:
- MINIO_ROOT_USER=cloudtakminioadmin
- MINIO_ROOT_PASSWORD=cloudtakminioadmin
- MINIO_DEFAULT_BUCKETS=cloudtak