forked from shinolabs/PinkSea
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (59 loc) · 1.69 KB
/
docker-compose.yml
File metadata and controls
61 lines (59 loc) · 1.69 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
57
58
59
60
61
version: "3"
services:
appview:
image: pinksea/appview
environment:
- PostgresConfig__Hostname=postgresql
- PostgresConfig__Username=${POSTGRES_USERNAME}
- PostgresConfig__Password=${POSTGRES_PASSWORD}
- PostgresConfig__Port=${POSTGRES_PORT}
- PostgresConfig__Database=${POSTGRES_DATABASE}
- AppViewConfig__AppUrl=${APPVIEW_URL}
- FrontendConfig__FrontendUrl=${FRONTEND_URL}
- AppViewConfig__BackfillSource=${BACKFILL_SOURCE}
- AppViewConfig__BackfillSkipDimensionsVerification=${BACKFILL_SKIP_DIMENSIONS_VERIFICATION}
- AppViewConfig__PlcDirectory=${PLC_DIRECTORY}
- AppViewConfig__JetStreamEndpoint=${JETSTREAM_ENDPOINT}
- AppViewConfig__ImageProxyTemplate=${IMAGE_PROXY_TEMPLATE}
- AppViewConfig__CursorFilePath=/App/docker_data/cursorfile
build:
context: .
dockerfile: Dockerfile
networks:
- pinksea
depends_on:
- postgresql
ports:
- "5678:8080"
volumes:
- ${PWD}/docker_data:/App/docker_data
frontend:
image: pinksea/gateway
build:
context: .
dockerfile: Dockerfile.Gateway
environment:
- GatewaySettings__AppViewEndpoint=${APPVIEW_URL}
- GatewaySettings__FrontEndEndpoint=${FRONTEND_URL}
networks:
- pinksea
depends_on:
- appview
ports:
- "6789:8080"
postgresql:
image: postgres:17-alpine
restart: always
networks:
- pinksea
environment:
- POSTGRES_USER=${POSTGRES_USERNAME}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DATABASE}
volumes:
- pinksea_db:/var/lib/postgresql/data
networks:
pinksea:
volumes:
pinksea_db:
driver: "local"