Multiple implementations of the same back-end application. The aim is to provide quick, side-by-side comparisons of different technologies (languages, frameworks, libraries) while preserving consistent business logic across all implementations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
864 B

version: "3.9"
services:
php:
build:
context: ..
dockerfile: docker/Dockerfile
image: php82-app-img
container_name: php82-app
volumes:
- ..:/var/www/html
networks:
- app-network
nginx:
build:
context: ..
dockerfile: docker/nginx.Dockerfile
image: php82-nginx-img
container_name: php82-nginx
ports:
- "8081:80"
volumes:
- ..:/var/www/html:ro
depends_on:
- php
networks:
- app-network
scheduler:
build:
context: ..
dockerfile: docker/Dockerfile
image: php82-app-img
container_name: php82-scheduler
volumes:
- ..:/var/www/html
command: ["php", "/var/www/html/cli/scheduler.php"]
depends_on:
- php
networks:
- app-network
restart: unless-stopped
networks:
app-network:
driver: bridge