Sign inSign up

rohullahayobi/typo3

By rohullahayobi

•Updated about 2 years ago

Fully Working TYPO3 (12.04) - Docker Setup

Image
Content management system
0

129

rohullahayobi/typo3 repository overview

⁠TYPO3 Docker Image

This Docker image provides a ready-to-use TYPO3 environment for development and testing purposes. It includes a pre-configured TYPO3 installation and is designed to work seamlessly with MySQL as the database backend.

⁠Features

  • Ready-to-Use: Pre-configured TYPO3 installation for quick setup.
  • Optimized for Development: Ideal for testing and development environments.
  • Compatibility: Works seamlessly with MySQL database.

⁠Usage

To use this image, you can pull it from Docker Hub and run it with Docker Compose or as a standalone container.

⁠Pulling the Image
docker pull ayobirohullah/typo3:12.04

⁠Running with Docker Compose

Here is an example docker-compose.yml file to get you started:

services:
  typo3:
    build: .
    ports:
      - "8080:80"
    environment:
      - TYPO3_DB_HOST=db
      - TYPO3_DB_USER=typo3
      - TYPO3_DB_PASSWORD=typo3_password
      - TYPO3_DB_NAME=typo3
    volumes:
      - ./src:/var/www/html
    depends_on:
      - db

  db:
    image: mysql:8.0
    environment:
      MYSQL_ROOT_PASSWORD: root_password
      MYSQL_DATABASE: typo3
      MYSQL_USER: typo3
      MYSQL_PASSWORD: typo3_password
    volumes:
      - db_data:/var/lib/mysql

volumes:
  db_data:

⁠Running the Containers

To build and run the containers using Docker Compose, navigate to the directory containing your docker-compose.yml file and execute:

docker-compose up -d

⁠Accessing TYPO3

Once the containers are up and running, open your web browser and go to:

localhost:8080

⁠TYPO3 Setup

Follow the setup instructions in the browser and use the following database configuration:

  • Database Host: db
  • Database User: typo3
  • Database Password: typo3_password
  • Database Name: typo3

⁠Stopping the Containers

To stop the running containers run:

docker-compose down

⁠Volumes

  • TYPO3 data is mounted from ./src to /var/www/html inside the container.
  • MySQL data is persisted in a Docker volume named db_data.

Notes

  • The Typo3 source code has been take from the official website⁠
  • Ensure that ports 8080 (for TYPO3) and 3306 (for MySQL) are available on your machine.
  • Customize the typo3 source code by modifying files in the src directory.

Explore More

Check out my GitHub repository rohullahayobi⁠ for additional documentation, configuration details, and source code. 🚀

Tag summary

Content type

Image

Digest

sha256:580d1ee57…

Size

207.8 MB

Last updated

about 2 years ago

docker pull rohullahayobi/typo3:12.04