Docker + nginx + MySQL + PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
289 B

10 months ago
version: "3.8"
10 months ago
services:
redis:
image: redis:6.2.6-alpine
container_name: redis
10 months ago
# user: "${USER_ID}:${GROUP_ID}"
10 months ago
network_mode: "host"
10 months ago
restart: always
volumes:
- ./data:/data
10 months ago
- ./data/redis.conf:/data/redis.conf
10 months ago
command: ["redis-server", "/data/redis.conf"]