ensl.org/docker-compose.yml

30 lines
599 B
YAML
Raw Normal View History

version: "3"
services:
web:
image: ensl/ensl.org:latest
# volumes:
# - "/srv/ensl/ensl.org/public:/var/www/public"
ports:
- "4000:4000"
depends_on:
- db
- memcached
# - redis
db:
image: mariadb:latest
volumes:
- "/srv/ensl/ensl.org/db_data:/var/lib/mysql"
# - "/srv/ensl/ensl.org/ext/mysql.conf.d:/etc/mysql/conf.d"
environment:
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_USERNAME
- MYSQL_PASSWORD
- MYSQL_ROOT_PASSWORD
# - MYSQL_ROOT_HOST
memcached:
image: memcached:latest
#redis:
# image: redis