mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
remove sudo
This commit is contained in:
parent
8a73a7c7ab
commit
bddd932eb8
@ -192,3 +192,11 @@ services:
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: nginx
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
clickhouse:
|
||||
|
||||
networks:
|
||||
oneuptime:
|
||||
driver: bridge
|
@ -45,16 +45,16 @@
|
||||
"fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix ",
|
||||
"fix": "npm run fix-lint",
|
||||
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services",
|
||||
"ps": "sudo docker compose ps",
|
||||
"ps": "docker compose ps",
|
||||
"save-logs": "docker compose logs --tail=100000 $npm_config_services > logs.txt",
|
||||
"logs": "docker compose logs --tail=100 -f $npm_config_services",
|
||||
"write-logs": "docker compose logs -f $npm_config_services > logs.txt",
|
||||
"build": "docker compose build -f docker-compose.dev.yml $npm_config_services",
|
||||
"force-build": "docker compose build -f docker-compose.dev.yml --no-cache $npm_config_services",
|
||||
"force-build": "export $(grep -v '^#' config.env | xargs) && docker compose build -f docker-compose.dev.yml --no-cache $npm_config_services",
|
||||
"force-build-dev": "npm run config-to-dev && npm run force-build",
|
||||
"kill": "npm run stop",
|
||||
"prod": "export $(grep -v '^#' config.env | xargs) && docker compose up -f docker-compose.yml -d",
|
||||
"dev": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -f docker-compose.dev.yml -d $npm_config_services",
|
||||
"prod": "npm run config-to-prod && export $(grep -v '^#' config.env | xargs) && docker compose up -f docker-compose.yml -d",
|
||||
"dev": "npm run config-to-dev && export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -f docker-compose.dev.yml -d $npm_config_services",
|
||||
"stop": "docker compose down --remove-orphans",
|
||||
"prune": "docker system prune",
|
||||
"remove-all-containers": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) || echo 'No running containers'",
|
||||
|
Loading…
Reference in New Issue
Block a user