mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Add Home service configuration and deployment setup
This commit is contained in:
@@ -160,6 +160,24 @@ services:
|
||||
dockerfile: ./TestServer/Dockerfile
|
||||
|
||||
|
||||
home:
|
||||
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
|
||||
- /usr/src/Common/node_modules/
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: home
|
||||
ports:
|
||||
- '9212:9229' # Debugging port.
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./Home/Dockerfile
|
||||
|
||||
app:
|
||||
volumes:
|
||||
- ./App:/usr/src/app
|
||||
@@ -167,10 +185,7 @@ services:
|
||||
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
||||
- /usr/src/app/node_modules/
|
||||
- ./Common:/usr/src/Common
|
||||
|
||||
- /usr/src/Common/node_modules/
|
||||
|
||||
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: app
|
||||
|
||||
Reference in New Issue
Block a user