refs #964 undo 6abeb19
, open port, do not build after deployment
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
parent
6abeb19cc6
commit
c5c00ed688
|
@ -16,13 +16,11 @@ services:
|
|||
|
||||
nginx:
|
||||
container_name: ogcore-nginx
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/Dockerfile-nginx
|
||||
depends_on:
|
||||
- php
|
||||
ports:
|
||||
- 8080:80
|
||||
- 8443:443
|
||||
volumes:
|
||||
- ./public:/var/www/html/public:cached
|
||||
networks:
|
||||
|
@ -31,9 +29,6 @@ services:
|
|||
|
||||
php:
|
||||
container_name: ogcore-php
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/Dockerfile-jenkins-php
|
||||
depends_on:
|
||||
- database
|
||||
environment:
|
||||
|
|
|
@ -28,4 +28,3 @@ RUN apk del -f .build-deps
|
|||
|
||||
COPY ./docker/xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
|
||||
COPY . /var/www/html
|
||||
COPY provision.sh ./
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
composer install
|
||||
php bin/console lexik:jwt:generate-keypair --overwrite
|
||||
php bin/console doctrine:migrations:migrate --no-interaction
|
||||
php bin/console doctrine:fixtures:load --no-interaction
|
Loading…
Reference in New Issue