prod commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName laravel_docker
|
||||
DocumentRoot /var/www/laravel_docker/public
|
||||
|
||||
<Directory /var/www/laravel_docker>
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
@@ -0,0 +1,27 @@
|
||||
version: '3.3'
|
||||
services:
|
||||
database:
|
||||
image: postgres
|
||||
container_name: database
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_PASSWORD: secret
|
||||
POSTGRES_DB: laravel_docker
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- '5430:5432'
|
||||
|
||||
php-apache:
|
||||
# container_name: php-apache
|
||||
build:
|
||||
context: ./php
|
||||
ports:
|
||||
- '8080:80'
|
||||
volumes:
|
||||
- ./src:/var/www/laravel_docker
|
||||
- ./apache/default.conf:/etc/apache2/sites-enabled/000-default.conf
|
||||
depends_on:
|
||||
- database
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
FROM php:8.0-apache
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y \
|
||||
g++ \
|
||||
libicu-dev \
|
||||
libpq-dev \
|
||||
libzip-dev \
|
||||
zip \
|
||||
zlib1g-dev \
|
||||
&& docker-php-ext-install \
|
||||
intl \
|
||||
opcache \
|
||||
pdo \
|
||||
pdo_pgsql \
|
||||
pgsql
|
||||
|
||||
WORKDIR /var/www/laravel_docker
|
||||
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
@@ -0,0 +1 @@
|
||||
14
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user