Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m48s
58 lines
1.3 KiB
YAML
Executable File
58 lines
1.3 KiB
YAML
Executable File
version: '3'
|
|
services:
|
|
php-backend-tsd:
|
|
restart: unless-stopped
|
|
build:
|
|
context: .
|
|
dockerfile: ./images/php82/Dockerfile
|
|
args:
|
|
- USER_ID
|
|
- GROUP_ID
|
|
volumes:
|
|
- ./www:/var/www
|
|
- ./aliases/php71/bash.bashrc:/etc/bash.bashrc
|
|
environment:
|
|
XDEBUG_CONFIG: "remote_host=192.168.225.1 remote_enable=1 remote_autostart=off remote_port=9008"
|
|
PHP_IDE_CONFIG: "serverName=first"
|
|
networks:
|
|
- tsd-network
|
|
|
|
vuecli-tsd:
|
|
build:
|
|
context: ./images/vuecli
|
|
working_dir: /srv/app
|
|
volumes:
|
|
- ./www/first.loc:/srv/app
|
|
- ./www/first.loc/node_modules:/srv/app/node_modules
|
|
stdin_open: true
|
|
environment:
|
|
- HOST=0.0.0.0
|
|
- CHOKIDAR_USEPOLLING=true
|
|
ports:
|
|
- "8079:8080"
|
|
# Команда не указана — используется CMD из Dockerfile (обычно npm run serve)
|
|
|
|
nginx-tsd:
|
|
restart: unless-stopped
|
|
image: nginx
|
|
volumes:
|
|
- ./hosts:/etc/nginx/conf.d
|
|
- ./www:/var/www
|
|
- ./logs:/var/log/nginx
|
|
ports:
|
|
- "8100:80"
|
|
depends_on:
|
|
- php-backend-tsd
|
|
networks:
|
|
tsd-network:
|
|
aliases:
|
|
- first.loc
|
|
|
|
networks:
|
|
tsd-network:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 192.168.225.0/28
|