Skip to content

wartron/alpine-php-yii2-advanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A alpine-php container for running yii2-advanced apps.

This replaces the /etc/nginx/presets/default.conf

It will replace the hostnames with the ENV variables HOST_FRONT and HOST_BACK

running in current directory

docker run -d \
    -e HOST_FRONT=frontend.dev \
    -e HOST_BACK=backend.dev \
    -v $(pwd):/app:rw \
    wartron/alpine-php-yii2-advanced

running with nginx proxy and a local linked db

docker run -d \
    -e VIRTUAL_HOST=frontend.dev,backend.dev \
    -e HOST_FRONT=frontend.dev \
    -e HOST_BACK=backend.dev \
    -v $(pwd):/app:rw \
    --link db:db \
    wartron/alpine-php-yii2-advanced

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published