mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
31 lines
896 B
YAML
31 lines
896 B
YAML
services:
|
|
|
|
copilot:
|
|
volumes:
|
|
- ./Copilot:/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:
|
|
- '9985:9229' # Debugging port.
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: copilot
|
|
environment:
|
|
- LOG_LEVEL=INFO
|
|
build:
|
|
network: host
|
|
context: .
|
|
dockerfile: ./Copilot/Dockerfile
|
|
|
|
networks:
|
|
oneuptime:
|
|
driver: bridge |