Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mkchal/templates/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
context: ../
logging:
driver: "json-file"
max-size: "50k"
max-file: "3"
expose: # This should be the port your challenge runs on inside the container.
- "{port}"
labels: # If you have a second service make sure the service name and port are replaced
Expand Down
2 changes: 2 additions & 0 deletions mkchal/templates/pwn/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
context: ../
logging:
driver: "json-file"
max-size: "50k"
max-file: "3"
restart: always
expose: # This should be the port your challenge runs on inside the container.
- "{port}"
Expand Down
8 changes: 5 additions & 3 deletions mkchal/templates/web/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
context: ../
logging:
driver: "json-file"
max-size: "50k"
max-file: "3"
expose: # This should be the port your challenge runs on inside the container.
- "{port}"
labels: # please do not delete these labels, if you have a second service make sure the service name and port are replaced
Expand All @@ -15,8 +17,8 @@ services:
- "traefik.http.routers.${{COMPOSE_PROJECT_NAME}}.tls={{}}"
- "traefik.http.routers.${{COMPOSE_PROJECT_NAME}}.entrypoints=websecure"
# Delete this line, edit and uncomment the lines below to configure rate limiting for your service
# - "traefik.http.middlewares.fluf.ratelimit.average=100"
# - "traefik.http.routers.${{COMPOSE_PROJECT_NAME}}.middlewares=fluf"
# - "traefik.http.middlewares.fluf.ratelimit.burst=100"
# - "traefik.http.middlewares.ffuf-${{COMPOSE_PROJECT_NAME}}.ratelimit.average=100"
# - "traefik.http.routers.${{COMPOSE_PROJECT_NAME}}.middlewares=ffuf-${{COMPOSE_PROJECT_NAME}}"
# - "traefik.http.middlewares.ffuf-${{COMPOSE_PROJECT_NAME}}.ratelimit.burst=100"
ports:
- "1337:{port}"