Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Development #302

Open
hbroer opened this issue Nov 25, 2024 · 0 comments
Open

Extension Development #302

hbroer opened this issue Nov 25, 2024 · 0 comments

Comments

@hbroer
Copy link

hbroer commented Nov 25, 2024

Hi,

I don't understand how I can develop an extension with this docker container. I even don;t understand how to install a extension because there is no composer inside the container and no composer.json. But AFAIK Typo3 (12) depends heavily on composer.

I have checked out the extensions repo, and tried it to mount in the vendor dir using this docker-compose.yml config:

version: '3'
services:
    typo3-db:
        image: mariadb:latest
        restart: always
        environment:
            MYSQL_ROOT_PASSWORD: password
            MYSQL_USER: typo3
            MYSQL_PASSWORD: password
            MYSQL_DATABASE: typo3
            MYSQL_CHARACTER_SET: utf8
            MYSQL_COLLATION: utf8_unicode_ci
        volumes:
            - db_data:/var/lib/mysql
        networks:
            - typo3
    typo3-web:
        image: martinhelmich/typo3:12
        restart: always
        ports:
            - "8080:80"
        volumes:
            - typo3_data:/var/www/html
            - ./:/var/www/html/vendor/[company]/[extname]
        networks:
            - typo3
    phpmyadmin:
        image: phpmyadmin:latest
        restart: always
        ports:
            - '8088:80'
        depends_on:
            - typo3-db
        environment:
            PMA_HOST: typo3-db
            MYSQL_ROOT_PASSWORD: password
        networks:
            - typo3
networks:
    typo3:
volumes:
    db_data:
    typo3_data:

When connecting into the container I can see all files in /var/www/html/vendor/... But Typo3 does not recognise them. I also could not find any help for this problem because 100% of the information on the web is outdated or for composer installations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant