feat: Add Gitea Actions pipeline and Docker deployment config
Some checks failed
Build and Deploy / build-and-push (push) Failing after 12m54s

This commit is contained in:
Cauê Faleiros
2026-02-20 14:04:34 -03:00
parent c0bd6d7e3d
commit 090f6cff6a
6 changed files with 2197 additions and 0 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
version: '3.8'
services:
web:
# Adjust the image name to match your Gitea repository owner/name
image: gitea.blyzer.com.br/farelos/cms-automotivo:latest
ports:
# Maps port 80 inside the container to port 8080 on the host (adjust as needed)
- "8080:80"
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: on-failure
update_config:
parallelism: 1
delay: 10s
# Environment variables for runtime configuration (if any are not baked in)
environment:
- NODE_ENV=production
networks:
- app_net
networks:
app_net:
driver: overlay