From 79438a0b591865ed7466f517826eb5ca9efa5e44 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Wed, 8 Nov 2023 23:06:45 +0100 Subject: [PATCH] simplify docker compose --- docker-compose.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 940910a..3868ca9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,13 +3,16 @@ services: ladder: image: ghcr.io/kubero-dev/ladder:latest container_name: ladder - build: . + #build: . #restart: always #command: sh -c ./ladder environment: - PORT=8080 - RULESET=/app/ruleset.yaml - #- PREFORK=true + #- EXPOSE_RULESET=true + #- PREFORK=false + #- DISABLE_FORM=fase + #- FORM_PATH=/app/form.html #- X_FORWARDED_FOR=66.249.66.1 #- USER_AGENT=Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) #- USERPASS=foo:bar @@ -19,11 +22,4 @@ services: - "8080:8080" volumes: - ./ruleset.yaml:/app/ruleset.yaml - deploy: - resources: - limits: - cpus: "0.50" - memory: 512M - reservations: - cpus: "0.25" - memory: 128M \ No newline at end of file + - ./handlers/form.html:/app/form.html \ No newline at end of file