fix the manager
This commit is contained in:
42
docker-run-commands.sh
Executable file
42
docker-run-commands.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
# Generated by ./configure.sh from manager-solution/manager/config.json.
|
||||
# These commands recreate/start the Fiscality user containers directly with Docker.
|
||||
# The manager normally proxies user ports; the first command block matches the manager
|
||||
# container creation and does not publish ports.
|
||||
|
||||
# User: mario - manager-equivalent container
|
||||
docker volume create v-conf-mario >/dev/null
|
||||
docker run -d \
|
||||
--name fis-mario \
|
||||
--restart always \
|
||||
--volume v-conf-mario:/config:rw \
|
||||
--env PUID=1000 \
|
||||
--env PGID=1000 \
|
||||
--env PASSWORD=mario \
|
||||
--env CUSTOM_USER=mario \
|
||||
--memory 3g \
|
||||
--memory-swap 5g \
|
||||
--privileged \
|
||||
--tty \
|
||||
--interactive \
|
||||
fis
|
||||
|
||||
# Emergency direct access for mario on host port 3001:
|
||||
# docker rm -f fis-mario || true
|
||||
# docker run -d \
|
||||
# --name fis-mario \
|
||||
# --restart always \
|
||||
# -p 3001:3000 \
|
||||
# --volume v-conf-mario:/config:rw \
|
||||
# --env PUID=1000 \
|
||||
# --env PGID=1000 \
|
||||
# --env PASSWORD=mario \
|
||||
# --env CUSTOM_USER=mario \
|
||||
# --memory 3g \
|
||||
# --memory-swap 5g \
|
||||
# --privileged \
|
||||
# --tty \
|
||||
# --interactive \
|
||||
# fis
|
||||
Reference in New Issue
Block a user