diff --git a/COOLIFY.md b/COOLIFY.md index f3414a8..5021c73 100644 --- a/COOLIFY.md +++ b/COOLIFY.md @@ -17,10 +17,10 @@ docker login # Construir la imagen -docker build -t your-dockerhub-username/formbricks-vanity-server:latest . +docker build -t marcogll/soul23_form_mgr:latest . # Publicar a Docker Hub -docker push your-dockerhub-username/formbricks-vanity-server:latest +docker push marcogll/soul23_form_mgr:latest ``` ### 2. Configurar en Coolify @@ -41,12 +41,14 @@ docker push your-dockerhub-username/formbricks-vanity-server:latest En Coolify, configura estas variables de entorno: ``` - FORMBRICKS_API_KEY=fbk_6QpdF1eC0E9umr9HjWUBaTxO_ispeHZYd-dI_EK9m2Q - ADMIN_API_TOKEN=9HiRr6K0Hfp2I4RgoLLsXr - FORMBRICKS_ENV_ID=cmbgr9ipo000ls201jpy12fbi,cmbgr9ipk000gs201rcukyfr7 + FORMBRICKS_API_KEY=fbk_... + ADMIN_API_TOKEN=... + FORMBRICKS_ENV_ID=... + FORMBRICKS_SDK_URL=https://feedback.soul23.cloud + BASE_DOMAIN=https://forms.soul23.cloud ``` - > ⚠️ **Importante**: No incluyas `FORMBRICKS_SDK_URL` ni `BASE_DOMAIN` en las variables de entorno de Coolify, ya que están hardcodeadas en el docker-compose.yml + > 💡 **Nota**: Asegúrate de configurar todas estas variables en Coolify para que coincidan con tu entorno. 4. **Configurar Dominio** @@ -110,10 +112,10 @@ Para actualizar a una nueva versión: ```bash # 1. Construir nueva imagen -docker build -t your-dockerhub-username/formbricks-vanity-server:v1.1.0 . +docker build -t marcogll/soul23_form_mgr:v1.1.0 . # 2. Publicar -docker push your-dockerhub-username/formbricks-vanity-server:v1.1.0 +docker push marcogll/soul23_form_mgr:v1.1.0 # 3. En Coolify, actualiza la imagen en docker-compose.yml # 4. Click en "Redeploy" diff --git a/DOCKER.md b/DOCKER.md index c4d4651..ce48988 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -5,7 +5,7 @@ ### 1. Build the Docker Image ```bash -docker build -t your-dockerhub-username/formbricks-vanity-server:latest . +docker build -t marcogll/soul23_form_mgr:latest . ``` ### 2. Run the Container @@ -18,7 +18,7 @@ docker run -d \ -e ADMIN_API_TOKEN=your_admin_token_here \ -v $(pwd)/data:/app/data \ --name formbricks-vanity \ - your-dockerhub-username/formbricks-vanity-server:latest + marcogll/soul23_form_mgr:latest ``` ### 3. Using Docker Compose (Recommended) @@ -30,7 +30,7 @@ version: "3.8" services: formbricks-vanity: - image: your-dockerhub-username/formbricks-vanity-server:latest + image: marcogll/soul23_form_mgr:latest container_name: formbricks-vanity ports: - "3011:3011" @@ -75,15 +75,15 @@ docker login ### 2. Tag Your Image ```bash -docker tag formbricks-vanity-server:latest your-dockerhub-username/formbricks-vanity-server:latest -docker tag formbricks-vanity-server:latest your-dockerhub-username/formbricks-vanity-server:v1.0.0 +docker tag formbricks-vanity-server:latest marcogll/soul23_form_mgr:latest +docker tag formbricks-vanity-server:latest marcogll/soul23_form_mgr:v1.0.0 ``` ### 3. Push to Docker Hub ```bash -docker push your-dockerhub-username/formbricks-vanity-server:latest -docker push your-dockerhub-username/formbricks-vanity-server:v1.0.0 +docker push marcogll/soul23_form_mgr:latest +docker push marcogll/soul23_form_mgr:v1.0.0 ``` ## Data Persistence diff --git a/README.md b/README.md index 29516c1..1757a79 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,10 @@ Deployment en un solo click con Coolify. Ver [COOLIFY.md](./COOLIFY.md) para ins ```bash # Construir imagen -docker build -t your-username/formbricks-vanity-server:latest . +docker build -t marcogll/soul23_form_mgr:latest . # Publicar a Docker Hub -docker push your-username/formbricks-vanity-server:latest +docker push marcogll/soul23_form_mgr:latest ``` ## 🎮 Uso diff --git a/docker-compose.yml b/docker-compose.yml index ab4d0fd..0b8c718 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: formbricks-vanity: - image: your-dockerhub-username/formbricks-vanity-server:latest + image: marcogll/soul23_form_mgr:latest container_name: formbricks-vanity ports: - "3011:3011"