refs #964 undo 6abeb19, open port, do not build after deployment
testing/ogcore-api/pipeline/head There was a failure building this commit Details

jenkins-provision
Natalia Serrano 2024-10-31 15:44:04 +01:00
parent 6abeb19cc6
commit c5c00ed688
3 changed files with 1 additions and 13 deletions

View File

@ -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:

View File

@ -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 ./

View File

@ -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