Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.