2019-12-08 00:19:36 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
2020-03-07 19:08:37 +00:00
|
|
|
# Debug
|
2020-03-14 19:43:19 +00:00
|
|
|
stdin_open: true
|
|
|
|
command: /bin/bash
|
|
|
|
tty: true
|
2019-12-08 00:19:36 +00:00
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
args:
|
|
|
|
buildno: 1
|
|
|
|
volumes:
|
|
|
|
- ".:/var/www/"
|
|
|
|
ports:
|
|
|
|
- "4000:4000"
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
- memcached
|
|
|
|
# - redis
|
|
|
|
db:
|
2019-10-17 18:29:15 +00:00
|
|
|
# Debug
|
2020-03-14 19:43:19 +00:00
|
|
|
#command: bash
|
2019-12-08 00:19:36 +00:00
|
|
|
#tty: true
|
2019-09-24 19:55:34 +00:00
|
|
|
command: mysqld_safe --skip-grant-tables
|
2019-12-08 00:19:36 +00:00
|
|
|
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
|