2023-07-17 12:28:29 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
2023-08-01 15:41:21 +00:00
|
|
|
|
2023-07-17 12:28:29 +00:00
|
|
|
haraka:
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: haraka
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Haraka/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: redis
|
|
|
|
|
|
|
|
clickhouse:
|
2023-08-22 08:37:39 +00:00
|
|
|
ports:
|
|
|
|
- '9034:9000'
|
|
|
|
- '8189:8123'
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: clickhouse
|
|
|
|
|
|
|
|
postgres:
|
2023-07-19 10:41:32 +00:00
|
|
|
ports:
|
|
|
|
- '5400:5432'
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: postgres
|
2023-10-09 18:21:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
otel-collector:
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: otel-collector
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./OTelCollector/Dockerfile
|
|
|
|
|
2023-07-17 12:28:29 +00:00
|
|
|
accounts:
|
2023-07-21 12:23:34 +00:00
|
|
|
ports:
|
|
|
|
- '${ACCOUNTS_PORT}:${ACCOUNTS_PORT}' # ws port for webpack
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: accounts
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./Accounts:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
2023-07-22 16:45:12 +00:00
|
|
|
- /usr/src/app/dev-env
|
2023-07-19 13:51:39 +00:00
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Accounts/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
dashboard:
|
2023-07-21 12:23:34 +00:00
|
|
|
ports:
|
|
|
|
- '${DASHBOARD_PORT}:${DASHBOARD_PORT}' # ws port for webpack
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: dashboard
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
2023-07-19 18:36:26 +00:00
|
|
|
- ./Dashboard:/usr/src/app
|
2023-07-19 13:51:39 +00:00
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
2023-07-22 16:45:12 +00:00
|
|
|
- /usr/src/app/dev-env
|
2023-07-19 13:51:39 +00:00
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Dashboard/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-25 14:51:26 +00:00
|
|
|
admin-dashboard:
|
|
|
|
ports:
|
|
|
|
- '${ADMIN_DASHBOARD_PORT}:${ADMIN_DASHBOARD_PORT}' # ws port for webpack
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: admin-dashboard
|
|
|
|
volumes:
|
|
|
|
- ./AdminDashboard:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/dev-env
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./AdminDashboard/Dockerfile
|
|
|
|
|
|
|
|
|
2023-07-17 12:28:29 +00:00
|
|
|
status-page:
|
2023-07-21 12:23:34 +00:00
|
|
|
ports:
|
|
|
|
- '${STATUS_PAGE_PORT}:${STATUS_PAGE_PORT}' # ws port for webpack
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: status-page
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./StatusPage:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
2023-07-22 16:45:12 +00:00
|
|
|
- /usr/src/app/dev-env
|
2023-07-19 13:51:39 +00:00
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./StatusPage/Dockerfile
|
|
|
|
|
2023-08-02 17:26:56 +00:00
|
|
|
|
|
|
|
test-server:
|
|
|
|
volumes:
|
|
|
|
- ./TestServer:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: test-server
|
|
|
|
ports:
|
|
|
|
- '9141:9229' # Debugging port.
|
|
|
|
- '3800:3800'
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./TestServer/Dockerfile
|
|
|
|
|
2023-07-17 12:28:29 +00:00
|
|
|
|
2023-12-28 15:54:27 +00:00
|
|
|
app:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
2023-12-28 19:30:58 +00:00
|
|
|
- ./App:/usr/src/app
|
2023-07-19 13:51:39 +00:00
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
2023-12-28 15:54:27 +00:00
|
|
|
service: app
|
2023-07-17 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9232:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
2023-12-28 19:30:58 +00:00
|
|
|
dockerfile: ./App/Dockerfile
|
2023-07-17 12:28:29 +00:00
|
|
|
|
|
|
|
|
2023-07-19 13:51:39 +00:00
|
|
|
probe-1:
|
|
|
|
volumes:
|
|
|
|
- ./Probe:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
2023-07-19 11:59:10 +00:00
|
|
|
service: probe-1
|
2023-07-17 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9655:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Probe/Dockerfile
|
2024-04-01 11:23:29 +00:00
|
|
|
|
|
|
|
probe-2:
|
|
|
|
volumes:
|
|
|
|
- ./Probe:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: probe-2
|
|
|
|
ports:
|
|
|
|
- '9656:9229' # Debugging port.
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Probe/Dockerfile
|
2024-04-05 19:02:33 +00:00
|
|
|
|
|
|
|
isolated-vm:
|
|
|
|
volumes:
|
|
|
|
- ./IsolatedVM:/usr/src/app
|
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
|
|
|
ports:
|
|
|
|
- '9974:9229' # Debugging port.
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: isolated-vm
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./IsolatedVM/Dockerfile
|
2023-07-17 12:28:29 +00:00
|
|
|
|
2023-10-09 17:54:23 +00:00
|
|
|
ingestor:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
2023-10-09 17:54:23 +00:00
|
|
|
- ./Ingestor:/usr/src/app
|
2023-07-19 13:51:39 +00:00
|
|
|
# Use node modules of the container and not host system.
|
|
|
|
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
|
|
|
- /usr/src/app/node_modules/
|
|
|
|
- ./Common:/usr/src/Common
|
|
|
|
- ./Model:/usr/src/Model
|
|
|
|
- ./CommonServer:/usr/src/CommonServer
|
|
|
|
- ./CommonUI:/usr/src/CommonUI
|
|
|
|
- /usr/src/Common/node_modules/
|
|
|
|
- /usr/src/CommonUI/node_modules/
|
|
|
|
- /usr/src/CommonServer/node_modules/
|
|
|
|
- /usr/src/Model/node_modules/
|
2023-07-17 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9932:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
2023-10-09 17:54:23 +00:00
|
|
|
service: ingestor
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
2023-10-09 17:54:23 +00:00
|
|
|
dockerfile: ./Ingestor/Dockerfile
|
2023-07-17 12:28:29 +00:00
|
|
|
|
|
|
|
|
2024-02-02 12:21:29 +00:00
|
|
|
# Fluentd. Required only for development. In production its the responsibility of the customer to run fluentd and pipe logs to OneUptime.
|
|
|
|
# We run this container just for development, to see if logs are piped.
|
|
|
|
|
|
|
|
fluentd:
|
|
|
|
ports:
|
|
|
|
- 24224:24224
|
|
|
|
- 24224:24224/udp
|
|
|
|
user: fluent
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: fluentd
|
|
|
|
volumes:
|
|
|
|
- ./Fluentd/fluent.conf:/fluentd/etc/fluent.conf
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: ./Fluentd
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
|
2023-09-13 07:00:24 +00:00
|
|
|
ingress:
|
2023-07-19 19:02:14 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Nginx/Dockerfile
|
|
|
|
extends:
|
2023-07-17 12:28:29 +00:00
|
|
|
file: ./docker-compose.base.yml
|
2023-09-13 07:00:24 +00:00
|
|
|
service: ingress
|
2023-07-19 11:42:33 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres:
|
|
|
|
clickhouse:
|
2023-12-01 21:20:30 +00:00
|
|
|
|
2023-07-19 11:42:33 +00:00
|
|
|
networks:
|
|
|
|
oneuptime:
|
|
|
|
driver: bridge
|