Skip to content
Snippets Groups Projects
Commit 14dacea4 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Docker : ajustements pour pouvoir construire une image de démo

parent 13396154
Branches
No related tags found
No related merge requests found
nbproject /config/autoload/*local*.php
._*
.~lock.* /data/db/
.buildpath /data/cache/
/data/DoctrineModule/
/data/DoctrineORMModule/
/vendor
/tmp/
.DS_Store .DS_Store
.idea .idea/
.project .~*
.settings .sass-cache/
vendor/
public/vendor/
config/development.config.php
config/autoload/local.php
config/autoload/*.local.php
!public/vendor/README.md
data/cache/*
!data/cache/.gitkeep
ARG PHP_VERSION ARG PHP_VERSION
FROM unicaen-dev-php${PHP_VERSION}-apache FROM registre.unicaen.fr:5000/unicaen-dev-php${PHP_VERSION}-apache
LABEL maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>" LABEL maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>"
...@@ -19,3 +19,7 @@ ADD docker/fpm/conf.d/app.ini ${PHP_CONF_DIR}/fpm/conf.d/ ...@@ -19,3 +19,7 @@ ADD docker/fpm/conf.d/app.ini ${PHP_CONF_DIR}/fpm/conf.d/
RUN a2ensite app app-ssl && \ RUN a2ensite app app-ssl && \
service php${PHP_VERSION}-fpm reload service php${PHP_VERSION}-fpm reload
COPY . /app
WORKDIR /app
...@@ -2,12 +2,19 @@ version: "2" ...@@ -2,12 +2,19 @@ version: "2"
services: services:
sygal-import-ws: sygal-import-ws:
image: sygal-import-ws-image-php7.0 # image: sygal-import-ws-image-php7.0
build:
context: .
args:
- PHP_VERSION=7.0
container_name: sygal-import-ws-container-php7.0 container_name: sygal-import-ws-container-php7.0
environment: environment:
- http_proxy - http_proxy
- https_proxy - https_proxy
- no_proxy - no_proxy
- HTTP_PROXY
- HTTPS_PROXY
- NO_PROXY
ports: ports:
- "8443:443" - "8443:443"
volumes: volumes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment