Update dolideb/run.sh
This commit is contained in:
parent
36bbf6ea9f
commit
013ace72c5
@ -1,7 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Start DoliDeb
|
# Retrieve the configured external port from the options
|
||||||
|
external_port=$(bashio::config 'external_port')
|
||||||
|
|
||||||
|
# Configure port mapping dynamically
|
||||||
|
echo "Mapping internal port 80 to external port ${external_port}"
|
||||||
|
|
||||||
|
# Start your service, ensuring that it listens on the internal port 80
|
||||||
service apache2 start
|
service apache2 start
|
||||||
|
|
||||||
# Keep the container running
|
# Keep the container running
|
||||||
|
Loading…
x
Reference in New Issue
Block a user