Sfoglia il codice sorgente

Docker Compose file for running in prod behind a reverse proxy

Lukas Angerer 3 anni fa
parent
commit
03e1ad4708
1 ha cambiato i file con 23 aggiunte e 0 eliminazioni
  1. 23 0
      docker-compose-server.yml

+ 23 - 0
docker-compose-server.yml

@@ -0,0 +1,23 @@
+version: "3"
+
+services:
+  runnersmeet:
+    image: executry/runners-meet
+    ports:
+      - 7180:80
+    volumes:
+      - "./data:/app/data"
+      - "./config/app.prod.config.json:/app/wwwroot/assets/app.config.json"
+    environment:
+      - ASPNETCORE_ENVIRONMENT=Production
+      - ASPNETCORE_URLS=http://*:80
+    deploy:
+      restart_policy:
+        condition: on-failure
+        delay: 5s
+        max_attempts: 3
+        window: 10s
+      resources:
+        limits:
+          cpus: "1"
+          memory: "2gb"