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.
 
 
 
 
 
 

42 lines
840 B

version: "3.9"
services:
php:
build:
context: ..
dockerfile: .devcontainer/Dockerfile
args:
USER_ID: ${USER_ID:-1000}
GROUP_ID: ${GROUP_ID:-1000}
image: dev-php82-img
container_name: dev-php82
user: "developer"
volumes:
- ../:/var/www/html:cached
- composer-cache:/home/www-data/.composer/cache
environment:
PHP_IDE_CONFIG: serverName=localhost
XDEBUG_MODE: debug,develop
networks:
- dev-network
nginx:
build:
context: .
dockerfile: nginx.Dockerfile
image: dev-php82-nginx-img
container_name: dev-php82-nginx
ports:
- "50080:80"
volumes:
- ../:/var/www/html:cached
depends_on:
- php
networks:
- dev-network
volumes:
composer-cache:
networks:
dev-network:
driver: bridge