ensl.org/docker-compose.yml
Ari Timonen 22fc8cb50b Update to a working version
- Use assets workaround to work around the volume issue with docker
- Add assets to gitignore
- Fix dalli hostname
- Update docker-compose to new paths for volumes
- Fix MariaDB issue with optimization opts
2018-04-25 16:41:22 +00:00

29 lines
544 B
YAML

version: "3"
services:
web:
image: ensl/ensl.org:latest
volumes:
- "./public:/var/www/public"
ports:
- "4000:4000"
depends_on:
- db
- memcached
# - redis
db:
image: mariadb:latest
volumes:
- "./db_data:/var/lib/mysql"
- "./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