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 \
|
git \
|
||||||
nano
|
nano
|
||||||
|
|
||||||
RUN docker-php-ext-configure gd --with-jpeg
|
RUN docker-php-ext-configure gd --with-jpeg && \
|
||||||
RUN docker-php-ext-configure zip
|
docker-php-ext-configure zip && \
|
||||||
|
docker-php-ext-install \
|
||||||
RUN docker-php-ext-install \
|
pdo_sqlite \
|
||||||
#pdo_sqlite \
|
|
||||||
zip \
|
zip \
|
||||||
mbstring \
|
mbstring \
|
||||||
exif \
|
exif \
|
||||||
@ -44,6 +43,8 @@ RUN composer install --no-scripts --no-dev --optimize-autoloader
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN bash install.sh
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
BIN
data/data.db
BIN
data/data.db
Binary file not shown.
@ -2,13 +2,11 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
sermon-notes:
|
sermon-notes:
|
||||||
command:
|
command: "php bin/console doctrine:migrations:migrate --no-interaction"
|
||||||
- "php bin/console doctrine:migrations:migrate --no-interaction"
|
|
||||||
- "bash /var/www/html/install.sh"
|
|
||||||
build: .
|
build: .
|
||||||
environment:
|
environment:
|
||||||
- APP_ENV=prod
|
- 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
|
- 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"
|
||||||
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
|
# - 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