Skip to content

Commit 813a3c4

Browse files
committed
improved PaaS setup
1 parent 0c8b211 commit 813a3c4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ RUN /usr/local/bin/composer install --prefer-dist --dev --optimize-autoloader
1212
# Add application code
1313
ADD . /app
1414

15-
15+
# Easy PaaS setup
16+
ENV DB_ENV_MYSQL_DATABASE dev-myapp

Dockerfile-production

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ RUN /usr/local/bin/composer install --prefer-dist --no-dev --optimize-autoloader
1212
# Add application code
1313
ADD . /app
1414

15+
16+
# Easy PaaS setup
17+
# ---------------
18+
ENV DB_ENV_MYSQL_DATABASE prod-myapp
19+
ENV APP_NAME My Application
20+
ENV APP_ADMIN_PASSWORD=YOU_HAVE_TO_CHANGE_THIS
21+
22+
1523
# Staging
1624
# -------
1725
# Uncomment to enable password protection (demo/demo) for app server

0 commit comments

Comments
 (0)