63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
services:
|
|
nginx:
|
|
image: nginx:latest
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./www/app_php:/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:
|
|
- ./www/app_php:/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
|
|
gitea:
|
|
image: gitea/gitea:latest
|
|
container_name: alex-gitea
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
volumes:
|
|
- ./gitea:/data
|
|
ports:
|
|
- "3000:3000" # Web UI
|
|
- "222:2222" # SSH access
|
|
restart: always |