From b3829223c19a68b6754b241773b07835df665ff1 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Mon, 12 Feb 2024 20:54:57 +0000 Subject: [PATCH] Dateien nach "install-baserow-on-portainer" hochladen --- .../docker-compose-baserow.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 install-baserow-on-portainer/docker-compose-baserow.yml diff --git a/install-baserow-on-portainer/docker-compose-baserow.yml b/install-baserow-on-portainer/docker-compose-baserow.yml new file mode 100644 index 0000000..874ca39 --- /dev/null +++ b/install-baserow-on-portainer/docker-compose-baserow.yml @@ -0,0 +1,26 @@ +# Define the version of Docker Compose being used. +version: "3" + +# Define the services that will be managed by Docker Compose. +services: + # Configuration for the Baserow service. + baserow: + # Set the name of the Docker container. + container_name: baserow + + # Use the specified Docker image for Baserow and specify its version. + image: baserow/baserow:1.22.3 + + # Set environment variables for Baserow. + environment: + # Set the public URL for Baserow to use. + BASEROW_PUBLIC_URL: "http://[PORTAINER_IP]:7300" + + # Map ports from the host machine to the Baserow container. + ports: + - "7300:80" # Map port 7300 on the host to port 80 in the container. + - "7301:443" # Map port 7301 on the host to port 443 in the container. + + # Define volumes to persist data between container restarts. + volumes: + - /data/baserow/data:/baserow/data