Files
fiscality-maschera/docker-run-commands.sh
2026-07-06 12:18:41 +02:00

43 lines
1.1 KiB
Bash
Executable File

#!/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