All Projects → EvaEngine → Dockerfiles

EvaEngine / Dockerfiles

Development environment of EvaEngine, based on Docker

Labels

Projects that are alternatives of or similar to Dockerfiles

Dockerfiles
Dockerfiles for various pandoc images
Stars: ✭ 158 (-4.82%)
Mutual labels:  makefile
Amiga Gcc
The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga
Stars: ✭ 160 (-3.61%)
Mutual labels:  makefile
Noobs
NOOBS (New Out Of Box Software) - An easy Operating System install manager for the Raspberry Pi
Stars: ✭ 2,048 (+1133.73%)
Mutual labels:  makefile
Libretro Thumbnails
Thumbnails for RetroArch
Stars: ✭ 158 (-4.82%)
Mutual labels:  makefile
Teachingmaterial
Various teaching material
Stars: ✭ 159 (-4.22%)
Mutual labels:  makefile
Arm Assembly Cheat
MOVED TO: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly SEE README. ARMv7 and ARMv8 assembly userland minimal examples tutorial. Runnable asserts on x86 hosts with QEMU user mode or natively on ARM targets. Nice GDB step debug setup. Tested on Ubuntu 18.04 host and Raspberry Pi 2 and 3 targets.
Stars: ✭ 159 (-4.22%)
Mutual labels:  makefile
Sfml Vscode Boilerplate
A cross-platform SFML 2.5.1 & C++17 build environment for Visual Studio Code
Stars: ✭ 156 (-6.02%)
Mutual labels:  makefile
Iterm2 Borderless
Borderless iTerm2 patch with a few extra features
Stars: ✭ 165 (-0.6%)
Mutual labels:  makefile
Symfony Bootstrapped
⚡️ Symfony with tools
Stars: ✭ 160 (-3.61%)
Mutual labels:  makefile
Septun
Suricata Extreme Performance Tuning guide
Stars: ✭ 162 (-2.41%)
Mutual labels:  makefile
Vlc Arc Dark
Arc Dark skin for VLC
Stars: ✭ 158 (-4.82%)
Mutual labels:  makefile
Riscv Elf Psabi Doc
A RISC-V ELF psABI Document
Stars: ✭ 156 (-6.02%)
Mutual labels:  makefile
Small
Stars: ✭ 159 (-4.22%)
Mutual labels:  makefile
Docker Hbase
Stars: ✭ 158 (-4.82%)
Mutual labels:  makefile
Intellij Makefile
Makefile support for IntelliJ-based IDEs
Stars: ✭ 164 (-1.2%)
Mutual labels:  makefile
Openwrt
Mercer's OpenWrt source tree
Stars: ✭ 158 (-4.82%)
Mutual labels:  makefile
Docker Quick Ref
Docker: Printable Quick Reference
Stars: ✭ 160 (-3.61%)
Mutual labels:  makefile
Ios Projects Catalogue
[Discontinued] Сatalogue of iOS open source projects.
Stars: ✭ 165 (-0.6%)
Mutual labels:  makefile
Http Echo
A tiny go web server that echos what you start it with!
Stars: ✭ 165 (-0.6%)
Mutual labels:  makefile
Drizzledumper
drizzleDumper是一款基于内存搜索的Android脱壳工具。
Stars: ✭ 2,002 (+1106.02%)
Mutual labels:  makefile

Run Under Mac

环境要求

Mac系统,已经安装过以下组件:

  • VirtualBox
  • git
  • Homebrew
  • pip
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install wget
sudo easy_install pip

安装Docker/Boot2Docker/Docker-Compose

brew update
brew tap homebrew/binary
brew install docker boot2docker
sudo pip install -U docker-compose

初始化Boot2docker,Boot2docker默认会从AWS下载镜像,此处需要翻墙

如果无法翻墙可以手动下载Boot2Docker所需ISO镜像

wget http://192.168.11.180/boot2docker.iso -O ~/.boot2docker/boot2docker.iso
boot2docker init
boot2docker start

内存充足的话,建议将虚拟机内存调整到4GB

VBoxManage modifyvm boot2docker-vm --memory 4096

运行Docker需要设置环境变量,建议在~/.bashrc中加入

if [ "`boot2docker status`" = "running" ]; then
    eval "$(boot2docker shellinit)"
fi

设置Docker镜像,加速下载

Mac下:

boot2docker ssh
sudo vi /var/lib/boot2docker/profile
EXTRA_ARGS="--registry-mirror=http://192.168.11.180:5000"
boot2docker restart

Ubuntu下:

vi /etc/default/docker
DOCKER_OPTS=" --registry-mirror http://192.168.11.180:5000 --insecure-registry 192.168.11.180:5000"
service docker restart

启动EvaSkeleton

准备基础的目录,由于Mac下默认允许挂载/Users/的文件,因此本套方案将系统文件挂载位置强制设置为~/opt/

  • ~/opt/data 存放MySQL数据库,Elastic数据
  • ~/opt/htdocs 项目代码
  • ~/opt/log 存放所有输出Log

创建这些目录:

mkdir ~/opt ~/opt/data ~/opt/data/mysql ~/opt/data/elasticsearch ~/opt/log ~/opt/log/nginx ~/opt/log/php ~/opt/htdocs

Clone本项目

cd ~/opt/htdocs
git clone https://github.com/EvaEngine/Dockerfiles.git
cd Dockerfiles

下载镜像及构建

make dl
make build

构建及运行环境

docker-compose build
docker-compose up

绑定域名

sudo vi /etc/hosts
加入
192.168.59.103 docker local.evaengine.com static.evaengine.com

现在可以通过访问http://docker/来查看Web服务器根目录

构建EvaSkeleton项目文件

cd ~/opt/htdocs
git clone https://github.com/EvaEngine/EvaSkeleton.git
cd EvaSkeleton
cp config/config.local.dev.php config/config.local.php
make install
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].