Files
max-bot-test/docker-compose.yml
pkirillw a323550fdb
Some checks failed
Deploy Max Bot Test / deploy (push) Failing after 3s
chore(compose): publish nginx on 127.0.0.1:8098 for NPM forward
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 00:11:24 +03:00

37 lines
702 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: max-bot-test-app
restart: unless-stopped
env_file:
- .env
environment:
- TZ=Europe/Moscow
volumes:
- ./storage:/var/www/html/storage
networks:
- max-bot-test
- npm_default
nginx:
image: nginx:alpine
container_name: max-bot-test-nginx
restart: unless-stopped
ports:
- "127.0.0.1:8098:80"
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- app
networks:
- max-bot-test
- npm_default
networks:
max-bot-test:
driver: bridge
npm_default:
external: true