[Added] Docker compose, Gitea workflows, production to Dockerfile, Nginx conf

This commit is contained in:
Ninjaws
2024-11-22 14:40:34 +01:00
parent 007c3dd588
commit 176ab06ca8
5 changed files with 60 additions and 12 deletions
+13
View File
@@ -0,0 +1,13 @@
services:
frontend:
build:
context: .
dockerfile: Dockerfile
target: production
image: website-frontend-prod
container_name: website-frontend-prod-cont
ports:
- "4400:80"
restart: always
cpu_period: 100000 # Default is 100,000 microseconds (100ms)
cpu_quota: 5000 # 5% of the total CPU time