Commit 21d7d980 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

oubli docker compose

parent 0708e637
Loading
Loading
Loading
Loading
Loading
+17 −0
Changes for docker/apache/docker-compose.yaml: 17 added lines, 0 removed lines.
Original line number Diff line number Diff line
services:
  apache:
    build:
      context: .
      args:
        TZ: ${TZ:-Europe/Paris}

    container_name: ${APP_NAME:-ose}-apache
    hostname: ${APP_HOST:-localhost}
    volumes:
      - ../../:/var/www/html
    working_dir: /var/www/html
    environment:
      APPLICATION_ENV: ${APP_ENV:-dev}
      APP_NAME: ${APP_NAME:-ose}
      APP_ENV: ${APP_ENV:-dev}
      APP_HOST: ${APP_HOST:-localhost}
 No newline at end of file
+7 −0
Changes for docker/maildev/docker-compose.yaml: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
services:
  maildev:
    image: maildev/maildev:2.2.1
    container_name: ${APP_NAME:-ose}-maildev
    command: 'bin/maildev --web 80 --smtp 25 --hide-extensions STARTTLS --base-path /maildev'
    environment:
      - TZ=${TZ:-Europe/Paris}
+18 −0
Changes for docker/nodejs/docker-compose.yaml: 18 added lines, 0 removed lines.
Original line number Diff line number Diff line
services:
  nodejs:
    image: node:24.4-alpine
    working_dir: /home/node/app
    container_name: ${APP_NAME:-ose}-nodejs
    volumes:
      - '../../:/home/node/app:rw'
    environment:
      HTTP_PROXY: ${HTTP_PROXY:-}
      HTTPS_PROXY: ${HTTPS_PROXY:-}
      NO_PROXY: ${NO_PROXY:-}
      VITE_APP_NAME: ${APP_NAME:-ose}
      VITE_APP_LABEL: ${APP_LABEL:-OSE}
      VITE_APP_HOST: ${APP_HOST:-localhost}
    command:
      - /bin/sh
      - '-c'
      - 'npm install && npx vite dev'
+10 −0
Changes for docker/odconv/docker-compose.yaml: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
services:
  odconv:
    build:
      context: .
    container_name: ${APP_NAME:-ose}-odconv
    environment:
      - WORKERS=4  # Nombre de workers pour gérer la charge (ajustez pour plus de concurrency)
      - TIMEOUT=300  # Timeout en secondes pour les requêtes (long pour les conversions lentes)
    mem_limit: 1g  # Limite mémoire pour éviter abus (ajustez selon vos besoins)
    cpus: 2.0  # Limite CPU pour scaler (ajustez selon le hardware)
 No newline at end of file
+26 −0
Changes for docker/php/docker-compose.yaml: 26 added lines, 0 removed lines.
Original line number Diff line number Diff line
services:
  php:
    build:
      context: .
      args:
        TZ: ${TZ:-Europe/Paris}
        APP_ENV: ${APP_ENV:-dev}
        HTTP_PROXY: ${HTTP_PROXY:-}
        HTTPS_PROXY: ${HTTPS_PROXY:-}
        NO_PROXY: ${NO_PROXY:-}

    container_name: ${APP_NAME:-ose}-php
    user: root
    environment:
      - TRUSTED_HOSTS=^${APP_HOST:-localhost}$
      - TRUSTED_PROXIES=^apache$
      - CORS_ALLOW_ORIGIN=^${APP_HOST:-localhost}$
      - APP_ENV=${APP_ENV:-dev}
      - APP_NAME=${APP_NAME:-ose}
      - APP_LABEL=${APP_LABEL:-OSE}
      - APP_HOST=${APP_HOST:-localhost}
      - DEV_VITE_PORT=${DEV_VITE_PORT:-}
      - DEV_VITE_URL=${DEV_VITE_URL:-}
    working_dir: /var/www/html
    volumes:
      - ../../:/var/www/html
 No newline at end of file