2023-07-17 12:28:29 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
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:
|
|
|
|
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
|
|
|
|
|
|
|
|
notification:
|
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: notification
|
2023-07-17 13:30:31 +00:00
|
|
|
ports:
|
|
|
|
- 9111:9229 # Debugging port.
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./Notification:/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
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Notification/Dockerfile
|
|
|
|
|
|
|
|
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:40:23 +00:00
|
|
|
- /usr/src/app/.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:40:23 +00:00
|
|
|
- /usr/src/app/.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:40:23 +00:00
|
|
|
- /usr/src/app/.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dashboard-api:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./DashboardAPI:/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
|
|
|
|
service: dashboard-api
|
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: .
|
|
|
|
dockerfile: ./DashboardAPI/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
link-shortner:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./LinkShortner:/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
|
|
|
|
service: link-shortner
|
2023-07-17 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9826:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./LinkShortner/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
workflow:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./Workflow:/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
|
|
|
|
service: workflow
|
2023-07-17 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9212:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Workflow/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
workers:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./Workers:/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 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9654:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: workers
|
2023-07-19 14:10:47 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Workers/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
|
|
|
|
|
|
|
|
|
|
|
|
identity:
|
2023-07-17 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9132:9229' # Debugging port.
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./Identity:/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
|
|
|
|
service: identity
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Identity/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
probe-api:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./ProbeAPI:/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 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9932:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: probe-api
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./ProbeAPI/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
file:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./File:/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 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9012:9229' # Debugging port.
|
|
|
|
extends:
|
2023-07-17 12:28:29 +00:00
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: file
|
2023-07-19 14:10:47 +00:00
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./File/Dockerfile
|
2023-07-17 12:28:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
home:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./Home:/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 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9235:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: home
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Home/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
api-reference:
|
2023-07-19 13:51:39 +00:00
|
|
|
volumes:
|
|
|
|
- ./ApiReference:/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 16:38:15 +00:00
|
|
|
ports:
|
|
|
|
- '9178:9229' # Debugging port.
|
2023-07-17 12:28:29 +00:00
|
|
|
extends:
|
|
|
|
file: ./docker-compose.base.yml
|
|
|
|
service: api-reference
|
|
|
|
build:
|
|
|
|
network: host
|
|
|
|
context: .
|
|
|
|
dockerfile: ./ApiReference/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
nginx:
|
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
|
|
|
|
service: nginx
|
2023-07-19 11:42:33 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres:
|
|
|
|
clickhouse:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
oneuptime:
|
|
|
|
driver: bridge
|