mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-27 15:50:40 +02:00
Updated Docker development container
This commit is contained in:
@@ -3,7 +3,6 @@ LABEL maintainer="Chris Kankiewicz <Chris@ChrisKankiewicz.com>"
|
||||
|
||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||
ENV COMPOSER_HOME="/tmp"
|
||||
ENV PATH="app/vendor/bin:${PATH}"
|
||||
|
||||
COPY --from=composer:2.0 /usr/bin/composer /usr/bin/composer
|
||||
COPY .docker/apache/config/000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||
|
@@ -6,6 +6,8 @@ services:
|
||||
build: .
|
||||
environment:
|
||||
VIRTUAL_HOST: directory-lister.local
|
||||
ports:
|
||||
- ${APP_PORT:-80}:80
|
||||
volumes:
|
||||
- ./:/var/www/html
|
||||
extra_hosts:
|
||||
@@ -22,8 +24,3 @@ services:
|
||||
ports:
|
||||
- ${REDIS_PORT:-6379}:6379
|
||||
image: redis:6.0
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: development
|
||||
|
Reference in New Issue
Block a user