TraceDash/docker-compose.yml

25 lines
650 B
YAML
Raw Normal View History

2023-11-23 19:27:43 +01:00
version: '3'
services:
db:
image: mariadb:10.5
container_name: tracedash-db
restart: unless-stopped
volumes:
- ./storage/data/db:/var/lib/mysql
environment:
# Values are loaded from `.env`
MYSQL_DATABASE: ${DB_DATABASE}
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_USER: ${DB_USERNAME}
ports:
- "127.0.0.1:33666:3306"
redis:
image: redis:6.2-alpine
container_name: tracedash-redis
restart: unless-stopped
ports:
- "127.0.0.1:6379:6379"