Comments (4)
Looks like mod_rewrite is not enabled. Try to add:
RUN a2enmod rewrite
from cockpit.
Thanks a lot, the following works:
FROM php:8.0-rc-apache-buster
RUN apt-get update \
&& apt-get install -y \
wget zip unzip \
libzip-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
sqlite3 libsqlite3-dev \
libssl-dev \
&& pecl install mongodb \
&& pecl install redis \
&& docker-php-ext-install -j$(nproc) iconv gd pdo zip opcache pdo_sqlite
RUN a2enmod rewrite && a2enmod rewrite expires
RUN echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongodb.ini
RUN echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini
RUN wget https://files.getcockpit.com/releases/master/cockpit-core.zip \
&& unzip cockpit-core.zip -d /tmp \
&& rm cockpit-core.zip \
&& cd /tmp/cockpit-core \
&& cp -Rp . /var/www/html \
&& cd /var/www/html \
&& rm -r /tmp/cockpit-core
ENV DOCUMENT_ROOT /var/www/html
# COPY config.php /var/www/html/config/config.php
RUN chown -R www-data:www-data /var/www/html
CMD ["apache2-foreground"]
from cockpit.
You can also try this https://hub.docker.com/repository/docker/cockpithq/cockpit
from cockpit.
Nice, thanks +1
from cockpit.
Related Issues (20)
- Search on Entities is broken HOT 1
- Add authetication api endpoint
- Deleting a block hides content preview
- missing `content.save...` events when batch editing items
- labels of boolean fields not clickable in field settings modal HOT 2
- edit model --> field settings --> type modal --> clicking between type cards closes modal
- edit model --> field settings --> options modal of select field --> Pressing Enter should target "Update item" button
- No list of vulnerabilities HOT 1
- Calling `Cockpit::instance()` breaks error handling when using spaces/space urls HOT 3
- Some times, some buttons fail loading HOT 2
- how to make connection with mysql database HOT 1
- items view - disable language selection, when no field is localized
- Multi-word "name" results in 404 HOT 1
- `function Cockpit()` in async script seems unnecessary HOT 2
- naming collision with `$view` in `App::render()` HOT 1
- Filtering on a list of nested objects does not work HOT 8
- how to make login and registraion api in cockpit cms
- Was the 'slug' option removed from newer versions? HOT 3
- Default login creds for cockpit HOT 5
- [Feature] default state for model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockpit.