Compare commits
No commits in common. "36cd8944e3af3eca05d59c1d610c3b4e05215a84" and "6a81698f8aafc03e6e709fd1598ea2905a8106e1" have entirely different histories.
36cd8944e3
...
6a81698f8a
11
Dockerfile
11
Dockerfile
@ -16,11 +16,10 @@ RUN apt-get update && \
|
||||
git \
|
||||
nano
|
||||
|
||||
RUN docker-php-ext-configure gd --with-jpeg
|
||||
RUN docker-php-ext-configure zip
|
||||
|
||||
RUN docker-php-ext-install \
|
||||
#pdo_sqlite \
|
||||
RUN docker-php-ext-configure gd --with-jpeg && \
|
||||
docker-php-ext-configure zip && \
|
||||
docker-php-ext-install \
|
||||
pdo_sqlite \
|
||||
zip \
|
||||
mbstring \
|
||||
exif \
|
||||
@ -44,6 +43,8 @@ RUN composer install --no-scripts --no-dev --optimize-autoloader
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bash install.sh
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["apache2-foreground"]
|
||||
|
BIN
data/data.db
BIN
data/data.db
Binary file not shown.
@ -2,13 +2,11 @@ version: "3"
|
||||
|
||||
services:
|
||||
sermon-notes:
|
||||
command:
|
||||
- "php bin/console doctrine:migrations:migrate --no-interaction"
|
||||
- "bash /var/www/html/install.sh"
|
||||
command: "php bin/console doctrine:migrations:migrate --no-interaction"
|
||||
build: .
|
||||
environment:
|
||||
- APP_ENV=prod
|
||||
- DATABASE_URL="sqlite:///%kernel.project_dir%/data/data.db"
|
||||
- DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
|
||||
- MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
||||
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app"
|
||||
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
|
||||
|
Loading…
Reference in New Issue
Block a user