🐳 docker compose

This commit is contained in:
mi
2025-11-18 13:57:48 +10:00
parent 710b3551d5
commit 6d62ba8fe5
2 changed files with 16 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
.venv
.idea
.DS_Store
docker-compose.yml

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
services:
web:
build:
context: .
dockerfile: Dockerfile
container_name: hola-site
ports:
- "8080:80"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s