Hi Folks!
I can’t put my head through… Somehow my setup is setting up a DB and can connect but can’t get any further. I can’t find any doncumentation on that and tbh I find the installation guide really confusing.
What am I doing wrong?
I’m using Docker and PHP 8.3 aswell as the latest Neos Build on Windows 11
To add some more information:
I’ currently using standard settings from the Setup guide with a local Composer (no container).
FROM php:8.3-cli
RUN apt-get update \
# install GraphicsMagick
&& apt-get install -y \
libgraphicsmagick1-dev graphicsmagick zlib1g-dev libicu-dev gcc g++ --no-install-recommends \
&& pecl -vvv install gmagick-beta && docker-php-ext-enable gmagick \
# pdo_mysql
&& docker-php-ext-install pdo_mysql \
# redis
&& pecl install redis && docker-php-ext-enable redis \
# intl
&& docker-php-ext-configure intl && docker-php-ext-install intl \
# cleanup
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
EXPOSE 8081
# copy everything in the project into the container. This is what
# makes this image so fast!
COPY . /app
# start the dev server
CMD [ "./flow", "server:run", "--host", "0.0.0.0" ]
services:
# Neos CMS
neos:
build:
context: .
dockerfile: Dockerfile.dev
environment:
FLOW_CONTEXT: 'Development/Docker'
volumes:
- ./composer.json:/app/composer.json
- ./composer.lock:/app/composer.lock
- ./Configuration/:/app/Configuration/
- ./DistributionPackages/:/app/DistributionPackages/
# if you work on other packages, you need to add them here.
# WARNING: you need to add all packages from Distribution packages here ONE BY ONE, see the notice below for explanation.
- ./Packages/Sites/:/app/Packages/Sites/
ports:
- 8081:8081
# DB
db:
image: mariadb:10.7
environment:
MYSQL_ROOT_PASSWORD: 'db'
volumes:
- db:/var/lib/mysql
ports:
- 13306:3306
volumes:
db:
Thanks in advance, guys