taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

start.sh (540B)


      1 #/bin/bash
      2 # This file is in the public domain.
      3 
      4 THIS_FILE=$(realpath "$0")
      5 DIR=$(dirname "$THIS_FILE")
      6 
      7 podman run --name taler --replace -p 80:80 -v $DIR/..:/root:O -ti taler
      8 
      9 # About cap_sys_admin
     10 # https://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/
     11 #
     12 # Do not drop CAP_SYS_ADMIN from the container.
     13 # A number of fs namespacing related settings. 
     14 # You break all services that make use of these flags if you drop the flag.
     15 #podman run --name taler --replace -p 80:80  --cap-add sys_admin -v $DIR/..:/root:O -ti taler