Closed docb7 closed 4 years ago
Puh, after 5 hours of work (I just began to learn Docker) I did get it going.
`version: '2' services:
phpservermonitor: image: phpservermonitor:latest container_name: phpservermonitor restart: always environment:
8080:80 links:
db: image: mariadb container_name: phpservermonitor_mariadb restart: always environment:
When I install as described, I always get this error. Do I need to edit the Dockerfile as well, esp. the following lines?
User Environment Variables
ENV PSM_REFRESH_RATE_SECONDS 90 ENV PSM_AUTO_CONFIGURE true ENV PSM_PHP_DEBUG false ENV MYSQL_HOST database ENV MYSQL_USER phpservermonitor ENV MYSQL_PASSWORD YOUR_PASSWORD ENV MYSQL_DATABASE phpservermonitor ENV MYSQL_DATABASEPREFIX psm or should it be enough to just follow the steps described in the Readme.md