Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (49 loc) · 1.62 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (49 loc) · 1.62 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
services:
postgres:
image: 'terraware/postgres:v20250227.1'
ports:
- '5432:5432'
environment:
POSTGRES_DB: 'terraware'
POSTGRES_PASSWORD: 'terraware'
terraware-server:
image: 'terraware/terraware-server:STAGING'
ports:
- '8080:8080'
environment:
- 'DATABASE_URL=jdbc:postgresql://postgres:5432/terraware'
- 'DATABASE_PASSWORD=terraware'
- 'SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_KEYCLOAK_ISSUERURI'
- 'SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENTSECRET'
- 'SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUERURI'
- 'SPRING_THYMELEAF_PREFIX=classpath:templates'
- 'SPRING_CLOUD_AWS_SQS_ENABLED=false'
- 'TERRAWARE_ATLASSIAN_ACCOUNT'
- 'TERRAWARE_ATLASSIAN_APIHOST'
- 'TERRAWARE_ATLASSIAN_APITOKEN'
- 'TERRAWARE_ATLASSIAN_ENABLED'
- 'TERRAWARE_ATLASSIAN_SERVICEDESKKEY'
- 'TERRAWARE_MAPBOX_API_TOKEN'
- 'TERRAWARE_PHOTO_DIR=/photos'
- 'TERRAWARE_ENABLE_AWAITING_CHECK_IN=true'
- 'TERRAWARE_ALLOW_ADMIN_UI_FOR_NON_ADMINS=true'
- 'TERRAWARE_GOOGLE_DRIVE_USE_LOCAL_STORE=true'
- 'TERRAWARE_DROPBOX_USE_LOCAL_STORE=true'
volumes:
- './photo-data:/photos'
depends_on:
- 'postgres'
nginx:
image: nginx
volumes:
- ./nginx:/etc/nginx/templates
- ./dist:/usr/share/nginx/html
ports:
- '3001:80'
environment:
- 'SERVER_URL=http://terraware-server:8080'
depends_on:
- 'terraware-server'
# Only launch nginx listening on http://localhost:3001 if
# `--profile prod` is passed to `docker compose`.
profiles: [prod]