-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
102 lines (100 loc) · 3.29 KB
/
docker-compose.yml
File metadata and controls
102 lines (100 loc) · 3.29 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3.9'
networks:
internal:
frontend:
external: true
services:
timescaledb:
image: timescale/timescaledb:latest-pg14
container_name: timescaledb
ports:
- '5432:5432' # Expose PostgreSQL on port 5432
networks:
- internal
environment:
POSTGRES_USER: admin # Replace with your desired username
POSTGRES_PASSWORD: admin # Replace with your desired password
POSTGRES_DB: nullnet # Replace with your desired database name
# volumes:
# - timescale-data:/var/lib/postgresql/data
restart: always
datastore:
image: registry.dnamicro.com/wa-datastore:pg
networks:
- internal
- frontend
build:
context: .
dockerfile: dockerfile
#command: 'npm run drizzle:generate'
# command: 'npm run drizzle:migrate'
#ports:
# - 5001:5001
# - 6000:6000
labels:
traefik.enable: true
traefik.http.routers.datastore.entrypoints: web
traefik.http.routers.datastore.rule: Host(`datastore.fedora-1.local`)
traefik.http.services.datastore.loadbalancer.server.port: 5001
environment:
PORT: 5001
GRPC_PORT: 6000
SYNC_ENABLED: false
BATCH_SYNC_ENABLED: false
SYNC_ENDPOINT: http://localhost:5000
BATCH_SYNC_SIZE: 100
BATCH_SYNC_TYPE: weighted-round-robin #round-robin, weighted-round-robin
GROUP_ID: 01JBHKXHYSKPP247HZZWHA3JBT
SYNC_TIMER_MS: 5000
DATABASE_URL: postgres://admin:admin@timescaledb:5432/webaccessibility
DB_HOST: 0.0.0.0
DB_NAME: nullnet
DB_USER: admin
DB_PASSWORD: admin
DB_PORT: 5432
DATABASE: nullnet
DB_FILE_DIR: 'sql'
DB_FILE_SQLITE: 'sqlite.db'
NODE_ENV: 'development'
DEBUG: 'false'
STORAGE_UPLOAD_PATH: './upload'
STORAGE_ENDPOINT: '10.6.100.1'
STORAGE_PORT: 9000
STORAGE_ACCESS_KEY: '0eYyLxBNBFdQlXly6E8F'
STORAGE_SECRET_KEY: 'ZQ5PAdvYgj0iakLpocXTT4Eg5Rxs6muap2hwduL2'
STORAGE_BUCKET_NAME: 'test'
STORAGE_REGION: 'us-east-1'
STORAGE_TIMEOUT: 10000
SSL_CA: 'path/to/ca.cert'
SSL_CERT: 'path/to/cert.cert'
SSL_SECRET_KEY: 'path/to/secret.key'
STORAGE_TRANSPORT_KEEPALIVE: false
COMPANY_ORGANIZATION_ID: 'org-company-id-1'
COMPANY_ORGANIZATION_NAME: 'org-company'
# rtimescaledb:
# image: timescale/timescaledb:latest-pg14
# container_name: rtimescaledb
# ports:
# - '54324:5432' # xpose PostgreSQL on port 5432
# environment:
# POSTGRES_USER: admin # Replace with your desired username
# POSTGRES_PASSWORD: admin # Replace with your desired password
# POSTGRES_DB: nullnet_dev1 # Replace with your desired database name
# # volumes:
# # - rtimescale-data:/var/lib/rpostgresql/data
# restart: always
# ttimescaledb:
# image: timescale/timescaledb:latest-pg14
# container_name: ttimescaledb
# ports:
# - '54325:5432' # Expose PostgreSQL on port 5432
# environment:
# POSTGRES_USER: admin # Replace with your desired username
# POSTGRES_PASSWORD: admin # Replace with your desired password
# POSTGRES_DB: nullnet_dev2 # Replace with your desired database name
# # volumes:
# # - ttimescaledb-data:/var/lib/rpostgresql/data
# restart: always
# volumes:
# timescale-data:
# rtimescale-data: