Compare commits

...

4 Commits

Author SHA1 Message Date
gitea-actions
34adb01cbb chore: bump version to v0.1.20
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
Build & Push Docker Image / build (push) Successful in 51s
2026-04-07 12:40:39 +00:00
Matthieu
212a37f8dc fix(infra) : hardcode prod port 8086 like other apps
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 14:40:30 +02:00
gitea-actions
5cd7fc305f chore: bump version to v0.1.19
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
Build & Push Docker Image / build (push) Successful in 52s
2026-04-07 12:33:31 +00:00
Matthieu
9109e387b9 fix(ci) : set APP_ENV=prod in production Dockerfile
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s
Without APP_ENV=prod, Symfony defaults to dev and tries to load
DoctrineFixturesBundle which is excluded by --no-dev.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 14:32:53 +02:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,2 +1,2 @@
parameters:
app.version: '0.1.18'
app.version: '0.1.20'

View File

@@ -6,8 +6,6 @@ POSTGRES_DB=coltura
POSTGRES_USER=coltura
POSTGRES_PASSWORD=CHANGE_ME_IN_PRODUCTION
APP_PORT=80
JWT_PASSPHRASE=CHANGE_ME_IN_PRODUCTION
JWT_COOKIE_SECURE=1
JWT_TOKEN_TTL=86400

View File

@@ -58,6 +58,8 @@ RUN curl --insecure https://getcomposer.org/composer.phar -o /usr/bin/composer &
WORKDIR /var/www/html
ENV APP_ENV=prod
# Copier les fichiers projet
COPY . /var/www/html

View File

@@ -3,7 +3,7 @@ services:
container_name: php-coltura-fpm
build:
context: ../../
dockerfile: infra/deploy/Dockerfile
dockerfile: infra/prod/Dockerfile
target: php-base
environment:
APP_ENV: prod
@@ -19,12 +19,12 @@ services:
container_name: nginx-coltura
build:
context: ../../
dockerfile: infra/deploy/Dockerfile
dockerfile: infra/prod/Dockerfile
target: nginx
depends_on:
- php
ports:
- "${APP_PORT:-80}:80"
- "8086:80"
restart: unless-stopped
db: