
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
github.com/joshua-auchincloss/denco-redis
This is a containerized template for Denco projects which use redis caching behind an nginx proxy.
āāā docker-compose.yaml
āāā README.md
āāā README-master.md
āāā syncreadme.py
āāā nginx
ā āāā Dockerfile
ā āāā nginx.conf
āāā goserver
āāā go.mod
āāā server.go
āāā Dockerfile
āāā go.sum
āāā README.md
docker-compose.yaml
services:
denco:
container_name: denco
image: j000000/denco-redis:latest
build:
context: ./goserver
args:
- DENCO_PORT=80
networks:
- caching
depends_on:
- redis
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- DENCO_PORT=8080
healthcheck:
test: ["CMD", "curl", "-fsSL", "http://localhost:8080"]
interval: 30s
timeout: 5s
retries: 5
nginx:
container_name: proxy
build:
context: ./nginx
args:
- NGINX_PORT=80
restart: always
networks:
- caching
depends_on:
- denco
- redis
ports:
- 80:80
healthcheck:
test: ["CMD", "curl", "-fsSL", "http://localhost/"]
interval: 30s
timeout: 5s
retries: 5
redis:
image: redis:latest
container_name: redis
restart: always
command: redis-server --save 20 1 --loglevel warning
volumes:
- cache:/data
networks:
- caching
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 5s
retries: 5
volumes:
cache:
driver: local
networks:
caching:
gh repo clone joshua-auchincloss/denco-redis
cd denco-redis-master
docker compose up -d --build
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
82dc15b9e9b4 denco-redis_nginx "/docker-entrypoint.ā¦" 2 minutes ago Up 2 minutes 0.0.0.0:80->80/tcp proxy
fe1ba0d07433 denco-redis:latest "app" 2 minutes ago Up 2 minutes (healthy) denco
ab1615279d9e redis:latest "docker-entrypoint.sā¦" 3 minutes ago Up 2 minutes (healthy) 6379/tcp redis
docker pull redis:latest
docker run --name redisdev -d redis --p 6379:6379
cd goserver
go run .
warning: do not ship this for production without adding your preferred authentication methods. there is no additional security provided by this template.
docker compose build
kompose convert -f docker-compose.yaml
kompose convert -f docker-compose.yaml --provider=openshift
Maintain synchronized documentation using "README-master". Run the following within the main directory to track changes to your project:
python syncreadme.py
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.