mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
88721b28df
Temporary fix for puma.rb Rename .env.dev Fix more merge conflicts Dev env runs and tests run (with fails)
41 lines
777 B
YAML
41 lines
777 B
YAML
version: "3"
|
|
|
|
services:
|
|
web:
|
|
# Debug
|
|
stdin_open: true
|
|
command: /bin/bash
|
|
tty: true
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile.dev
|
|
args:
|
|
buildno: 1
|
|
volumes:
|
|
- ".:/var/www/"
|
|
ports:
|
|
- "4000:4000"
|
|
links:
|
|
- db
|
|
- memcached
|
|
# - redis
|
|
db:
|
|
# Debug
|
|
#command: bash
|
|
#tty: true
|
|
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=ensl
|
|
- MYSQL_USER=ensl
|
|
- MYSQL_USERNAME=ensl
|
|
- MYSQL_PASSWORD=ensl
|
|
- MYSQL_ROOT_PASSWORD=ensl
|
|
- MYSQL_ROOT_HOST=%
|
|
memcached:
|
|
image: memcached:latest
|
|
#redis:
|
|
# image: redis
|