ResourceHub API. Not for production. Get/Post, Json Serialize/Deserialize

This commit is contained in:
SocioCyber
2026-03-03 06:44:24 -07:00
commit 8a4b324832
22 changed files with 2678 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
services:
cache:
image: redis:7.4-alpine
restart: always
ports:
- "${REDIS_PORT}:6379" # port_on_public:port_in_docker_container
command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}
volumes:
- cache:/data
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD} # Optional, if you will use it in the container
- REDIS_PORT=${REDIS_PORT}
volumes:
cache:
driver: local