fix: Fixed Problems in Docker Files

main
Flycro 2024-03-21 00:35:35 +01:00
parent 32ff5f22dd
commit e1092d616a
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM dunglas/frankenphp FROM dunglas/frankenphp
RUN install-php-extensions pcntl RUN install-php-extensions pcntl pdo_pgsql pgsql
#ENV SERVER_NAME=bookstack.octolabs.net #ENV SERVER_NAME=bookstack.octolabs.net
ENV SERVER_NAME=:80 ENV SERVER_NAME=:80
@ -8,4 +8,7 @@ ENV SERVER_NAME=:80
COPY . /app COPY . /app
RUN composer install --no-dev --optimize-autoloader
RUN php artisan storage:link
ENTRYPOINT ["php", "artisan", "octane:frankenphp"] ENTRYPOINT ["php", "artisan", "octane:frankenphp"]

View File

@ -1,3 +1,4 @@
services: services:
php: php:
image: dunglas/frankenphp image: dunglas/frankenphp
@ -9,6 +10,7 @@ services:
networks: networks:
- laravel - laravel
volumes: volumes:
- './storage/app/public:/app/storage/public'
- caddy_data:/data - caddy_data:/data
- caddy_config:/config - caddy_config:/config
redis: redis: