54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
services:
|
|
nginx:
|
|
image: nginx:latest
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./src:/var/www/src
|
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
|
depends_on:
|
|
- php
|
|
restart: unless-stopped
|
|
|
|
php:
|
|
image: php:8.3-fpm
|
|
volumes:
|
|
- ./src:/var/www/src
|
|
restart: unless-stopped
|
|
|
|
python:
|
|
image: python:3.12-slim
|
|
container_name: alex-python
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
command: python /app/www/script_python2.py
|
|
ports:
|
|
- "8088:8088"
|
|
restart: unless-stopped
|
|
dotnet:
|
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
|
container_name: alex-dotnet
|
|
working_dir: /app
|
|
volumes:
|
|
- ./www/programDotNet:/app
|
|
command: dotnet run --urls http://0.0.0.0:8085
|
|
ports:
|
|
- "8085:8085"
|
|
restart: unless-stopped
|
|
|
|
node:
|
|
image: node:20-alpine
|
|
container_name: alex-node
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
environment:
|
|
- PORT=8090
|
|
command: node /app/www/node_script.js
|
|
ports:
|
|
- "8090:8090"
|
|
restart: unless-stopped
|
|
|
|
|