mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-14 08:50:44 +00:00
22fc8cb50b
- 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
29 lines
544 B
YAML
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
|