Compare commits
19 Commits
feat/compo
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| f813bc1de4 | |||
| bc378c2565 | |||
| 70ed577ccb | |||
| 6fc6d73feb | |||
| 1568a03ac8 | |||
| 4bf96a4b67 | |||
| 4150fc01ce | |||
| 879686c4a8 | |||
| 4eb2d4d15b | |||
| 986ba6c6d5 | |||
| b8830bfb7b | |||
| 17bf1980bc | |||
| a758b58083 | |||
| fc5e1a273a | |||
| 908ed35f14 | |||
| 5784e40493 | |||
| 3a74bca7f6 | |||
| 140cc7dda4 | |||
| a50d27be35 |
@@ -1,4 +1,4 @@
|
|||||||
# Dokploy Examples
|
# Dokploy Examples......
|
||||||
|
|
||||||
---
|
---
|
||||||
This repository contains examples of how to deploy applications using Dokploy.
|
This repository contains examples of how to deploy applications using Dokploy.
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
services:
|
|
||||||
base-app:
|
|
||||||
image: nginx:latest # Imagen base
|
|
||||||
ports:
|
|
||||||
- "80" # Puerto expuesto
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
services:
|
|
||||||
web-service:
|
|
||||||
extends:
|
|
||||||
file: common-services.yml # Apunta al archivo común
|
|
||||||
service: base-app # Usa el servicio base
|
|
||||||
environment:
|
|
||||||
- ENVIRONMENT=production # Sobrescribe o agrega configuración
|
|
||||||
|
|
||||||
worker-service:
|
|
||||||
extends:
|
|
||||||
file: common-services.yml
|
|
||||||
service: base-app
|
|
||||||
command: ["/bin/sh", "-c", "while true; do echo 'Worker running'; sleep 10; done"] # Cambia el comando
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
services:
|
|
||||||
db:
|
|
||||||
image: postgres:latest # Usa la imagen precreada de PostgreSQL
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: user
|
|
||||||
POSTGRES_PASSWORD: password
|
|
||||||
POSTGRES_DB: mydatabase
|
|
||||||
volumes:
|
|
||||||
- postgres_data-include:/var/lib/postgresql/data
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres_data-include:
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
include:
|
|
||||||
- db-compose.yml # Incluye la configuración de la base de datos
|
|
||||||
|
|
||||||
services:
|
|
||||||
web:
|
|
||||||
image: nginx:latest # Usa la imagen precreada de Nginx
|
|
||||||
ports:
|
|
||||||
- "80"
|
|
||||||
depends_on:
|
|
||||||
- db # Depende del servicio de base de datos
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
services:
|
|
||||||
webapp:
|
|
||||||
environment:
|
|
||||||
- DEBUG=1 # Agrega una variable de entorno
|
|
||||||
ports:
|
|
||||||
- "80" # Agrega un nuevo puerto (se concatenará con el original)
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
services:
|
|
||||||
webapp:
|
|
||||||
image: nginx:latest # Imagen base
|
|
||||||
ports:
|
|
||||||
- "80" # Puerto expuesto
|
|
||||||
volumes:
|
|
||||||
- ./app:/usr/share/nginx/html # Volumen para archivos
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# HTML Example
|
# HTML Example.
|
||||||
|
|
||||||
This repository contains an example of HTML application that is deployed on Dokploy.
|
This repository contains an example of HTML application that is deployed on Dokploy.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Hello World</title>
|
<title>Hello 🌍World from Anders</title>
|
||||||
|
<script defer src="https://umami.dokploy.agentic-ai.dk/script.js" data-website-id="d4ed43ca-7921-4b7e-9601-db450a867439"></script>
|
||||||
|
<script defer src="https://umami.dokploy.agentic-ai.dk/script.js" data-website-id="484b17a0-3a88-4137-a212-a4d2a780afe3"></script>
|
||||||
|
<script src="https://rybitt.dokploy.agentic-ai.dk/api/script.js" data-site-id="11" defer></script>
|
||||||
|
<script src="https://rybitt.dokploy.agentic-ai.dk/api/script.js" data-site-id="12" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello World</h1>
|
<h1>Hello 🌍World from Anders</h1>
|
||||||
</body>
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user