mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-14 13:51:26 +00:00
11fcea3259
Add env and docker files for development Fix some random things related to rails upgrade
34 lines
631 B
YAML
34 lines
631 B
YAML
version: "3"
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile.dev
|
|
args:
|
|
buildno: 1
|
|
volumes:
|
|
- ".:/var/www/"
|
|
ports:
|
|
- "4000:4000"
|
|
links:
|
|
- db
|
|
- memcached
|
|
# - redis
|
|
db:
|
|
command: mysqld_safe --skip-grant-tables
|
|
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
|