mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
added nginx service for docker-compose dev file
This commit is contained in:
parent
32dabeb010
commit
67e2483eeb
@ -375,5 +375,20 @@ services:
|
||||
# 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/
|
||||
nginx:
|
||||
depends_on:
|
||||
- mongo
|
||||
- backend
|
||||
- home
|
||||
- dashboard
|
||||
- accounts
|
||||
- admin-dashboard
|
||||
restart: always
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
context: ./nginx
|
||||
ports:
|
||||
- '8080:80'
|
||||
- '443:443'
|
||||
volumes:
|
||||
mongodata:
|
||||
|
Loading…
Reference in New Issue
Block a user