Docker to install openSIS
VfanLee opened this issue · 3 comments
VfanLee commented
Here is the directory structure
├── docker-compose.yml
├── Dockerfile
├── mysql
├── opensis # unzip opensis project
└── openSIS9.0.zip # origin opensis project
Dockerfile
FROM php:8.2-apache
RUN docker-php-ext-install pdo_mysql mysqli
# 'opensis' is project path
COPY opensis /var/www/html
RUN chmod -R 777 /var/www/html
docker-compose.yml
version: "3"
services:
web:
build: .
ports:
- "80:80"
networks:
- opensis-network
depends_on:
- db
db:
image: mysql:5.7
ports:
- "3306:3306"
volumes:
- ./mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: opensis # 'opensis' is mysql password
networks:
- opensis-network
command: --sql_mode=""
networks:
opensis-network:
kami619 commented
@VfanLee thanks for providing the docker assets to deploy, I was able to successfully bring up the containers but after selecting the username and password for mysql I am stuck with an empty blue page like below and don't see anything fishy in the server logs too .. I am running this on a M1 Mac, in case if that matters.
172.20.0.1 - - [05/Aug/2023:16:04:21 +0000] "GET /install/assets/images/warning.svg HTTP/1.1" 200 3644 "http://localhost/install/Step0.1.php?mod=upgrade" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
172.20.0.1 - - [05/Aug/2023:16:04:21 +0000] "GET /install/assets/css/installer.css?v=818 HTTP/1.1" 200 4238 "http://localhost/install/Step0.1.php?mod=upgrade" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
172.20.0.1 - - [05/Aug/2023:16:04:27 +0000] "GET /install/Step1.php?mod=upgrade HTTP/1.1" 200 1833 "http://localhost/install/Step0.1.php?mod=upgrade" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
172.20.0.1 - - [05/Aug/2023:16:04:27 +0000] "GET /install/assets/css/installer.css?v=902 HTTP/1.1" 200 4238 "http://localhost/install/Step1.php?mod=upgrade" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
172.20.0.1 - - [05/Aug/2023:16:04:29 +0000] "POST /install/Ins1.php?mod=upgrade HTTP/1.1" 200 337 "http://localhost/install/Step1.php?mod=upgrade" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
VfanLee commented