21 lines
410 B
YAML
21 lines
410 B
YAML
services:
|
|
redis:
|
|
image: redis:alpine
|
|
container_name: redis-dbcache
|
|
restart: unless-stopped
|
|
db:
|
|
image: mysql:latest
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${DBPASS}
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
- ./docker/provision/mysql/init:/docker-entrypoint-initdb.d
|
|
volumes:
|
|
db:
|
|
external: true
|
|
networks:
|
|
default:
|
|
name: nginx-proxy
|
|
external: true
|