parent
1ccc07b0b5
commit
c03e7f291a
2 changed files with 58 additions and 0 deletions
@ -0,0 +1,54 @@ |
||||
--- |
||||
version: "3.7" |
||||
|
||||
services: |
||||
app_proxy: |
||||
environment: |
||||
APP_HOST: <web-container-ip-address> |
||||
APP_PORT: <web-container-port-number> |
||||
|
||||
web: |
||||
image: <docker-image>:<tag> |
||||
restart: on-failure |
||||
stop_grace_period: 1m |
||||
ports: |
||||
# Replace <port> with the port that your app's web server |
||||
# is listening inside the Docker container. If you need to |
||||
# expose more ports, add them below. |
||||
- <port>:<port> |
||||
volumes: |
||||
# Uncomment to mount your data directories inside |
||||
# the Docker container for storing persistent data |
||||
# - ${APP_DATA_DIR}/foo:/foo |
||||
# - ${APP_DATA_DIR}/bar:/bar |
||||
|
||||
# Uncomment to mount LND's data directory as read-only |
||||
# inside the Docker container at path /lnd |
||||
# - ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro |
||||
|
||||
# Uncomment to mount Bitcoin Core's data directory as |
||||
# read-only inside the Docker container at path /bitcoin |
||||
# - ${APP_BITCOIN_DATA_DIR}:/bitcoin:ro |
||||
environment: |
||||
# Pass any environment variables to your app for configuration in the form: |
||||
# VARIABLE_NAME: value |
||||
# |
||||
# Here are all the Umbrel provided variables that you can pass through to |
||||
# your app |
||||
# System level environment variables |
||||
# $DEVICE_HOSTNAME - Umbrel server device hostname (e.g. "umbrel") |
||||
# $DEVICE_DOMAIN_NAME - A .local domain name for the Umbrel server (e.g. "umbrel.local") |
||||
# |
||||
# Tor proxy environment variables |
||||
# $TOR_PROXY_IP - Local IP of Tor proxy |
||||
# $TOR_PROXY_PORT - Port of Tor proxy |
||||
# |
||||
# App specific environment variables |
||||
# $APP_HIDDEN_SERVICE - The address of the Tor hidden service your app will be exposed at |
||||
# $APP_PASSWORD - Unique plain text password that can be used for authentication in your app, shown to the user in the Umbrel UI |
||||
# $APP_SEED - Unique 256 bit long hex string (128 bits of entropy) deterministically derived from user's Umbrel seed and your app's ID |
||||
# If your app has more services, like a database container, you can define those |
||||
# services below: |
||||
# db: |
||||
# image: <docker-image>:<tag> |
||||
# ... |
Loading…
Reference in new issue