feat: Add Gitea Actions pipeline and Docker deployment config
Some checks failed
Build and Deploy / build-and-push (push) Failing after 12m54s
Some checks failed
Build and Deploy / build-and-push (push) Failing after 12m54s
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user