Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.84 KB

README.md

File metadata and controls

43 lines (34 loc) · 1.84 KB

Contao CMS in Docker

This Docker image is to run Contao CMS in Docker.

How to use it

If you use the docker-compose file (you can find it here), all needed services for Contao will start automatically (you also have to download the ".env" file ).

If you want to start only the Contao image you can pull it from Docker Hub via "docker pull inotime/contao" or directly run it with "docker run inotime/contao"
If you want to build the image on your own, you can use the command "docker build ." in the directory of the Dockerfile.

All services were finally started

When all services were finally started you can access the several services
- the Contao CMS web server is running on https://localhost:443 or http://localhost:80
- phpMyAdmin is running on http://localhost:8081
- the database and the Contao web server are in the same internal network
- the database IP address is 192.168.0.2

After install

After successfully installed Contao you can access the Contao Backend via https://localhost:443/contao or http://localhost:80/contao

Access the Contao root directory

On Windows machines, you can access the Contao root directory from
\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\{dir}_docroot\_data

please change "{dir}" to your directory where the docker-compose file is placed.

Credentials

mysql database:
    IP (internal network): 192.168.0.2
    username: admin/root
    password: admin1234
    database name: contao

GitHub: INoTime
Repository (GitHub): Contao Docker local development