Suggest usage is with docker compose:
version: '3.1'
services:
db:
image: mariadb
volumes:
- imponodata:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
app:
image: digitalist/impono:latest
ports:
- "80:80"
environment:
DATABASE_PASSWORD: password
DATABASE_USER: root
DATABASE_HOST: db
DATABASE_NAME: impono_db
SYMFONY_ENV: prod
ENV: prod
TZ: "Europe/Stockholm"
volumes:
- imponoconfig:/var/www/app/config
volumes:
imponodata:
imponoconfig:
And to to install:
##Start the containers
docker-compose up -d
##Create database
docker exec -it impono_db_1 mysqladmin -uroot -ppassword create impono_db
##Run composer tasks for impono
docker exec -it impono_app_1 composer install --no-dev
##Start the web installer
Go to url http://localhost/install.php (or whatever domain you are using) Follow instructions.
To add the config in the last step to the parameters.yml file in the impono image:
docker exec -it impono_app_1 bash
nano /var/www/config/app/parameters.yml
Then you should be able to login.
##Problems
If you have problem logging and just get "Containers" and a loading wheel, normally you auth token were not set correctly because of cache issue - delete auth_token from the browser, or start new browser session and run:
docker exec -it impono_app_1 chmod 777 -R var/cache/prod
Content type
Image
Digest
Size
215.7 MB
Last updated
over 8 years ago
docker pull digitalist/impono