mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
action_utils, nextcloud: Make podman util more generic
It is unlikely that other containers will need the same volume with path for /var/www/html. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
c38814b1bc
commit
ecaede79ee
2 files changed
+7
-8
No files matched your search
@@ -50,10 +50,10 @@ def setup():
|
||||
action_utils.podman_run(
|
||||
network_name=NETWORK_NAME, subnet='172.16.16.0/24',
|
||||
bridge_ip=BRIDGE_IP, host_port='8181', container_port='80',
|
||||
container_ip=CONTAINER_IP, volume_name=VOLUME_NAME,
|
||||
container_name=CONTAINER_NAME, image_name=IMAGE_NAME,
|
||||
extra_run_options=[
|
||||
container_ip=CONTAINER_IP, container_name=CONTAINER_NAME,
|
||||
image_name=IMAGE_NAME, extra_run_options=[
|
||||
'--volume=/run/mysqld/mysqld.sock:/run/mysqld/mysqld.sock',
|
||||
f'--volume={VOLUME_NAME}:/var/www/html',
|
||||
f'--env=TRUSTED_PROXIES={BRIDGE_IP}',
|
||||
'--env=OVERWRITEWEBROOT=/nextcloud'
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user