version: '3' services: hyperpipe-frontend: image: codeberg.org/hyperpipe/hyperpipe:latest container_name: hyperpipe-frontend restart: unless-stopped entrypoint: sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/PIPED/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/BACKEND/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"' ports: - '8080:80' hyperpipe-backend: image: codeberg.org/hyperpipe/hyperpipe-backend:latest container_name: hyperpipe-backend environment: - HYP_PROXY=hyperpipe-proxy.onrender.com restart: unless-stopped ports: - '3000:3000' watchtower: image: containrrr/watchtower container_name: watchtower restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/timezone:/etc/timezone:ro environment: - WATCHTOWER_CLEANUP=true - WATCHTOWER_INCLUDE_RESTARTING=true command: hyperpipe-frontend hyperpipe-backend watchtower