How to self host Activepieces on your home and access it over the internet

I just ran what you say and stopped asking questions… what’s the worst that could happen, right?
You were right, it worked as you said… no assumptions.

Thank you Pablo

Don’t worry, I know this can be hard sometimes. Glad it worked.

I’ll explain a little to you.
When you run docker compose up -d it will recreate the containers based on your modifications to the docker-compose.yml, so no need to do anything else.

The docker stop and rm and so on, you need it only if the previous step fails and you don’t know why.

Is a little more complex than this, but for docker compose, if you follow this, you should be ok.

Thank you for the explainer.
Very much appreciated.

I wish coding documentation could be personalized with competency levels, and as you get more competent, it reduces the explainers for reader/learner.

Like you select you are a newbie “hold my hand”, and every step is clearly stated at every snippet shown. Or something like that.

normally it will be enough:
starting: docker compose up -d
stopping: docker compose down

1 Like

2 possibilities:

  1. portforwarding:
    Use any port from your home-router and forward it to your docker instance.
    Access it like: http://my.home.rout.er:9999

2.: reverseproxy
I am using traefik as a reverseproxy. So I have to forward Port 80 and 443 to my docker instance
Then - in traefik I do something like this:
proxy is the network defined from traefik
services:
activepieces:
labels:
traefik.enable: “true”
traefik.http.routers.active-pieces.entrypoints: “websecure”
traefik.http.routers.active-pieces.rule: “Host(ap-external.fritz.box`)”
traefik.http.routers.active-pieces.tls: “true”
traefik.http.routers.active-pieces.tls.certresolver: “http_resolver”
traefik.http.services.active-pieces-traefik.loadbalancer.server.port: “80”
traefik.docker.network: “proxy”
traefik.http.routers.active-pieces.middlewares: “default@file”
networks:
- activepieces
- proxy

networks:
activepieces:
ipam:
config:.
- subnet: 172.31.2.0/24
proxy:
external: true
~

Thank you very much. youre the best

1 Like

Super Great ! Thanks. Works nice1 :heart_eyes: :star_struck: :muscle: