mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
initial docker compose setup
This commit is contained in:
parent
a32447b6f1
commit
7e9766d7ba
@ -59,6 +59,24 @@ services:
|
||||
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
||||
- /usr/src/app/node_modules/
|
||||
|
||||
data-ingestor:
|
||||
ports:
|
||||
- '3200:3200'
|
||||
- '9239:9229' # Debugging port.
|
||||
build:
|
||||
context: ./data-ingestor
|
||||
dockerfile: ./Dockerfile.dev
|
||||
env_file:
|
||||
- ./data-ingestor/.env
|
||||
environment:
|
||||
- SERVER_URL=http://backend:3002
|
||||
- CLUSTER_KEY=test
|
||||
volumes:
|
||||
- ./data-ingestor:/user/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/
|
||||
|
||||
# There can only be one probe in developer docker compose.
|
||||
probe:
|
||||
ports:
|
||||
|
@ -108,6 +108,17 @@ services:
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=${IS_SAAS_SERVICE}
|
||||
build: ./licensing
|
||||
data-ingestor:
|
||||
ports:
|
||||
- '3200:3200'
|
||||
build: ./data-ingestor
|
||||
env_file:
|
||||
- ./data-ingestor/.env
|
||||
environment:
|
||||
- SERVER_URL=http://backend:3002
|
||||
- CLUSTER_KEY=test
|
||||
depends_on:
|
||||
- backend
|
||||
probe1:
|
||||
ports:
|
||||
- '3024:3024'
|
||||
|
Loading…
Reference in New Issue
Block a user