Skip to content

Instantly share code, notes, and snippets.

@lsk569937453
Created March 1, 2024 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lsk569937453/fa70a84246efd2360f9acea1be83b182 to your computer and use it in GitHub Desktop.
Save lsk569937453/fa70a84246efd2360f9acea1be83b182 to your computer and use it in GitHub Desktop.
hyper test
version: '3.9'
services:
test:
image: demisto/rakyll-hey:1.0.0.44140
container_name: hey
tty: true
deploy:
resources:
limits:
cpus: "4.0"
memory: 8192M
backend:
image: jmalloc/echo-server
container_name: backend
ports:
- "9394:8080"
deploy:
resources:
limits:
cpus: "4.0"
memory: 8192M
silverwind:
image: lsk569937453/silverwind:test
#image: lsk569937453/silverwind:0.0.6
container_name: silverwind
environment:
CONFIG_FILE_PATH: /data/app/app_config.yaml
RUST_BACKTRACE: 1
JEMALLOC_SYS_WITH_MALLOC_CONF: background_thread:true,narenas:1,tcache:false,dirty_decay_ms:0,muzzy_decay_ms:0,abort_conf:true
volumes:
- ./app_config.yaml:/data/app/app_config.yaml
restart: unless-stopped
ports:
- 6667:6667
- 8870:8870
deploy:
resources:
limits:
cpus: "4.0"
memory: 8192M
FROM ubuntu:jammy-20230301
#RUN apt-get update &&\
# apt-get install -y heaptrack &&\
# apt-get install -y heaptrack-gui
#RUN apt-get update &&\
# apt-get install -y valgrind
COPY silverwind /tmp/silverwind
RUN chmod go+r /tmp/silverwind
WORKDIR "/tmp"
ENTRYPOINT ["/tmp/silverwind"]
#ENTRYPOINT ["tail", "-f", "/dev/null"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment