Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.04 KB

File metadata and controls

49 lines (39 loc) · 1.04 KB

cursor.education / environment

version 0.1

Deployment status from DeployBot


Setup

on local

$ boot2docker up
$ make set-dev all
$ open http://{site-address}:8080/

on stage:

$ curl -sSL https://get.docker.com/ | sh
$ docker -v
$ sudo service docker restart
$ git clone https://github.com/itspoma/cursor-education-site site/
$ cd site/ && make
$ open http://{site-address}/

Configure forwarding multiple docker containers on same port

$ cat /etc/httpd/conf.d/docker.conf
NameVirtualHost *:80

<VirtualHost *:80>
    ServerName site.cursor.education
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
</VirtualHost>

<VirtualHost *:80>
    ServerName mantisbt.cursor.education
    ProxyPass / http://localhost:1234/
    ProxyPassReverse / http://localhost:1234/
</VirtualHost>