mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
chore(build): remove grunt and add makefile [EE-4824] (#8125)
This commit is contained in:
parent
731f3959c7
commit
f20d3e72b9
20 changed files with 277 additions and 1407 deletions
23
dev/run_container.sh
Executable file
23
dev/run_container.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
|
||||
PORTAINER_DATA=${PORTAINER_DATA:-/tmp/portainer};
|
||||
PORTAINER_PROJECT=${PORTAINER_PROJECT:-$(pwd)};
|
||||
PORTAINER_FLAGS=${PORTAINER_FLAGS:-};
|
||||
|
||||
docker rm -f portainer
|
||||
|
||||
docker run -d \
|
||||
-p 8000:8000 \
|
||||
-p 9000:9000 \
|
||||
-p 9443:9443 \
|
||||
-v "$PORTAINER_PROJECT/dist:/app" \
|
||||
-v "$PORTAINER_DATA:/data" \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock:z \
|
||||
-v /var/run/docker.sock:/var/run/alternative.sock:z \
|
||||
-v /tmp:/tmp \
|
||||
--name portainer \
|
||||
portainer/base \
|
||||
/app/portainer "${@:PORTAINER_FLAGS}"
|
Loading…
Add table
Add a link
Reference in a new issue