Compare commits
2 Commits
6a81698f8a
...
36cd8944e3
Author | SHA1 | Date | |
---|---|---|---|
36cd8944e3 | |||
4c056aea8b |
11
Dockerfile
11
Dockerfile
@ -16,10 +16,11 @@ RUN apt-get update && \
|
||||
git \
|
||||
nano
|
||||
|
||||
RUN docker-php-ext-configure gd --with-jpeg && \
|
||||
docker-php-ext-configure zip && \
|
||||
docker-php-ext-install \
|
||||
pdo_sqlite \
|
||||
RUN docker-php-ext-configure gd --with-jpeg
|
||||
RUN docker-php-ext-configure zip
|
||||
|
||||
RUN docker-php-ext-install \
|
||||
#pdo_sqlite \
|
||||
zip \
|
||||
mbstring \
|
||||
exif \
|
||||
@ -43,8 +44,6 @@ RUN composer install --no-scripts --no-dev --optimize-autoloader
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bash install.sh
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["apache2-foreground"]
|
||||
|
BIN
data/data.db
Normal file
BIN
data/data.db
Normal file
Binary file not shown.
@ -2,11 +2,13 @@ version: "3"
|
||||
|
||||
services:
|
||||
sermon-notes:
|
||||
command: "php bin/console doctrine:migrations:migrate --no-interaction"
|
||||
command:
|
||||
- "php bin/console doctrine:migrations:migrate --no-interaction"
|
||||
- "bash /var/www/html/install.sh"
|
||||
build: .
|
||||
environment:
|
||||
- APP_ENV=prod
|
||||
- DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
|
||||
- DATABASE_URL="sqlite:///%kernel.project_dir%/data/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