Coldfusion 10 Docker

PHOTO EMBED

Mon Dec 06 2021 09:42:30 GMT+0000 (UTC)

Saved by @swina #coldfusion

docker pull fridus/coldfusion10

docker run --name coldfusion -d -p 8080:80  -v /dev/sav-coldfusion/sav-app:/var/www/html fridus/coldfusion10


docker run -d -p 8080:80 v /dev/sav-coldfusion/sav-app:/var/www 
  -v /path/vhost/dir:/etc/apache2/sites-enabled \
  fridus/coldfusion10

<VirtualHost *:80>
  DocumentRoot /var/www/website/www
  <Directory />
    AllowOverride All
  </Directory>
</VirtualHost>

#docker-compose.yml
version: '3'
services:
    mysql:
        image: mysql:5.7.29
        restart: always
        ports:
          - "3307:3306"
        volumes:
          - ./data/mysql/sav:/var/lib/mysql
          - .:/var/www/html
        environment:
          MYSQL_ROOT_PASSWORD: password
        networks:
          - savenergy

    coldfusion:
        image: fridus/coldfusion10
        ports:
          - "8088:80"
        environment:
          - MYSQL_USER=root
          - MYSQL_PASSWORD=password
          - MYSQL_DATABASE=savenergy
          - CF_DB_HOST=sav_mysql_1
          - CF_DB_PORT=3307
        volumes: 
          - .:/var/www/html
        links:
          - mysql:mysql
        depends_on:
          - mysql
        networks:
          - savenergy
networks:
    savenergy:

content_copyCOPY