Make Sahana errors and sessions persistent
This commit is contained in:
parent
b1ff00e36b
commit
837466742e
@ -16,6 +16,8 @@
|
||||
"safire/sahana_conf": "srv/web2py/applications/eden/models",
|
||||
"safire/sahana_data/SAFIRE": "srv/web2py/applications/eden/modules/templates/SAFIRE",
|
||||
"safire/sahana_data/databases": "srv/web2py/applications/eden/databases",
|
||||
"safire/sahana_data/errors": "srv/web2py/applications/eden/errors",
|
||||
"safire/sahana_data/sessions": "srv/web2py/applications/eden/sessions",
|
||||
"safire/sahana_data/uploads": "srv/web2py/applications/eden/uploads",
|
||||
"safire/sahana_data/masterUsers.csv": "srv/web2py/applications/eden/modules/templates/default/users/masterUsers.csv:file"
|
||||
}
|
||||
|
@ -22,6 +22,8 @@ envsubst <createdb.sql | spoc-container exec safire-postgres -- psql
|
||||
|
||||
# Prepare persistent directory structure
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/databases
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/errors
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/sessions
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/uploads
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/models ${SAHANA_CONF}
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/modules/templates/SAFIRE ${SAHANA_DATA}/SAFIRE
|
||||
|
@ -16,6 +16,8 @@
|
||||
"sahana-demo/sahana_conf": "srv/web2py/applications/eden/models",
|
||||
"sahana-demo/sahana_data/default": "srv/web2py/applications/eden/modules/templates/default",
|
||||
"sahana-demo/sahana_data/databases": "srv/web2py/applications/eden/databases",
|
||||
"sahana-demo/sahana_data/errors": "srv/web2py/applications/eden/errors",
|
||||
"sahana-demo/sahana_data/sessions": "srv/web2py/applications/eden/sessions",
|
||||
"sahana-demo/sahana_data/uploads": "srv/web2py/applications/eden/uploads"
|
||||
}
|
||||
},
|
||||
|
@ -21,6 +21,8 @@ envsubst <createdb.sql | spoc-container exec sahana-demo-postgres -- psql
|
||||
|
||||
# Prepare persistent directory structure
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/databases
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/errors
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/sessions
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/uploads
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/models ${SAHANA_CONF}
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/modules/templates/default ${SAHANA_DATA}/default
|
||||
|
@ -16,6 +16,8 @@
|
||||
"sahana/sahana_conf": "srv/web2py/applications/eden/models",
|
||||
"sahana/sahana_data/Spotter": "srv/web2py/applications/eden/modules/templates/Spotter",
|
||||
"sahana/sahana_data/databases": "srv/web2py/applications/eden/databases",
|
||||
"sahana/sahana_data/errors": "srv/web2py/applications/eden/errors",
|
||||
"sahana/sahana_data/sessions": "srv/web2py/applications/eden/sessions",
|
||||
"sahana/sahana_data/uploads": "srv/web2py/applications/eden/uploads"
|
||||
}
|
||||
},
|
||||
|
@ -22,6 +22,8 @@ envsubst <createdb.sql | spoc-container exec sahana-postgres -- psql
|
||||
|
||||
# Prepare persistent directory structure
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/databases
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/errors
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/sessions
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/uploads
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/models ${SAHANA_CONF}
|
||||
|
||||
|
@ -16,6 +16,8 @@
|
||||
"sambro/sahana_conf": "srv/web2py/applications/eden/models",
|
||||
"sambro/sahana_data/SAMBRO": "srv/web2py/applications/eden/modules/templates/SAMBRO",
|
||||
"sambro/sahana_data/databases": "srv/web2py/applications/eden/databases",
|
||||
"sambro/sahana_data/errors": "srv/web2py/applications/eden/errors",
|
||||
"sambro/sahana_data/sessions": "srv/web2py/applications/eden/sessions",
|
||||
"sambro/sahana_data/uploads": "srv/web2py/applications/eden/uploads",
|
||||
"sambro/sahana_data/masterUsers.csv": "srv/web2py/applications/eden/modules/templates/default/users/masterUsers.csv:file"
|
||||
}
|
||||
|
@ -22,6 +22,8 @@ envsubst <createdb.sql | spoc-container exec sambro-postgres -- psql
|
||||
|
||||
# Prepare persistent directory structure
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/databases
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/errors
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/sessions
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/uploads
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/models ${SAHANA_CONF}
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/modules/templates/SAMBRO ${SAHANA_DATA}/SAMBRO
|
||||
|
@ -16,6 +16,8 @@
|
||||
"share/sahana_conf": "srv/web2py/applications/eden/models",
|
||||
"share/sahana_data/SHARE": "srv/web2py/applications/eden/modules/templates/SHARE",
|
||||
"share/sahana_data/databases": "srv/web2py/applications/eden/databases",
|
||||
"share/sahana_data/errors": "srv/web2py/applications/eden/errors",
|
||||
"share/sahana_data/sessions": "srv/web2py/applications/eden/sessions",
|
||||
"share/sahana_data/uploads": "srv/web2py/applications/eden/uploads",
|
||||
"share/sahana_data/masterUsers.csv": "srv/web2py/applications/eden/modules/templates/default/users/masterUsers.csv:file"
|
||||
}
|
||||
|
@ -22,6 +22,8 @@ envsubst <createdb.sql | spoc-container exec share-postgres -- psql
|
||||
|
||||
# Prepare persistent directory structure
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/databases
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/errors
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/sessions
|
||||
install -o 108080 -g 108080 -m 750 -d ${SAHANA_DATA}/uploads
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/models ${SAHANA_CONF}
|
||||
cp -rp ${SAHANA_LAYER}/srv/web2py/applications/eden/modules/templates/SHARE ${SAHANA_DATA}/SHARE
|
||||
|
Loading…
Reference in New Issue
Block a user