mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
20 lines
374 B
YAML
20 lines
374 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
appredis:
|
|
image: redis:${APP_VERSION}
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
volumes:
|
|
- ./src/redis.conf:/etc/redis.conf:ro
|
|
- redis_data:/data
|
|
entrypoint: ["redis-server", "/etc/redis.conf"]
|
|
|
|
networks:
|
|
default:
|
|
name: ${APP_NETWORK}
|
|
external: true
|
|
|
|
volumes:
|
|
redis_data:
|