working version
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
#!/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: tomas - manager-equivalent container
|
||||
docker volume create v-conf-tomas >/dev/null
|
||||
docker run -d \
|
||||
--name fis-tomas \
|
||||
--restart always \
|
||||
--volume v-conf-tomas:/config:rw \
|
||||
--env PUID=1000 \
|
||||
--env PGID=1000 \
|
||||
--env PASSWORD=tomasmali92 \
|
||||
--env CUSTOM_USER=tomas \
|
||||
--memory 3g \
|
||||
--memory-swap 5g \
|
||||
--privileged \
|
||||
--tty \
|
||||
--interactive \
|
||||
fis
|
||||
|
||||
# Emergency direct access for tomas on host port 3009:
|
||||
# docker rm -f fis-tomas || true
|
||||
# docker run -d \
|
||||
# --name fis-tomas \
|
||||
# --restart always \
|
||||
# -p 3009:3000 \
|
||||
# --volume v-conf-tomas:/config:rw \
|
||||
# --env PUID=1000 \
|
||||
# --env PGID=1000 \
|
||||
# --env PASSWORD=tomasmali92 \
|
||||
# --env CUSTOM_USER=tomas \
|
||||
# --memory 3g \
|
||||
# --memory-swap 5g \
|
||||
# --privileged \
|
||||
# --tty \
|
||||
# --interactive \
|
||||
# fis
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"defaults": {
|
||||
"container_prefix": "fis-",
|
||||
"environment": {
|
||||
"PUID": "1000",
|
||||
"PGID": "1000"
|
||||
},
|
||||
"volumes": {
|
||||
"v-conf-{id}": "/config"
|
||||
},
|
||||
"mem_limit": "3g",
|
||||
"memswap_limit": "5g",
|
||||
"privileged": true,
|
||||
"tmpfs": {},
|
||||
"dns": [],
|
||||
"extra_hosts": {}
|
||||
},
|
||||
"users": [
|
||||
{
|
||||
"id": "tomas",
|
||||
"port": 3009,
|
||||
"environment": {
|
||||
"PASSWORD": "tomasmali92"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user