commit c3299b13aa35fce6478d63b974d66a4564e2b30e Author: Giteadmin Date: Sun Sep 17 12:28:36 2023 +0200 Upload files to "/" diff --git a/.env b/.env new file mode 100644 index 0000000..e62d05e --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +JSONHERO_WEB_VERSION=latest +CONTAINER_NAME=jsonhero_web +NETWORK_DRIVER=bridge +HOST_PORT=2887 +CONTAINER_PORT=8787 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..9597488 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.8' + +services: + jsonhero_web: + image: henryclw/jsonhero-web:${JSONHERO_WEB_VERSION:-latest} + container_name: ${CONTAINER_NAME:-jsonhero_web} + ports: + - "${HOST_PORT:-8787}:${CONTAINER_PORT:-8787}" + networks: + - br_jsonhero + +networks: + default: + driver: bridge + br_jsonhero: + driver: ${NETWORK_DRIVER:-bridge} +