add prod conf

This commit is contained in:
Ваше Имя 2025-07-28 15:07:34 +05:00
parent fb1c2b9bd8
commit 9abf1105cc
1 changed files with 8 additions and 30 deletions

View File

@ -8,33 +8,19 @@ services:
volumes:
- ../nginx/nginx_config_dev.conf:/etc/nginx/conf.d/default.conf
- ../../app:/var/www/html
- ../../layouts:/var/www/layouts
- ../scripts/nginx:/home/scripts
- ../../letsencrypt:/etc/letsencrypt
ports:
- 80:80
- 8090:8090
- 443:443
working_dir: /var/www/html
php:
build:
context: ../../dockerfiles/php
dockerfile: Dockerfile_ubuntu
dockerfile: Dockerfile_ubuntu_prod
volumes:
- ../../app:/var/www/html
- ../scripts/php:/home/scripts
ports:
- 9002:9002
command: sh /home/scripts/start.sh
workspace:
build:
context: ../../dockerfiles/php
dockerfile: Dockerfile_ubuntu
user: "${UID}"
volumes:
- ../../app:/var/www/html
- ../../shortcats:/var/www
- ../scripts/php:/home/scripts
command: sh /home/scripts/workspace.sh
db:
build:
context: ../../dockerfiles/mysql
@ -45,23 +31,15 @@ services:
- ../scripts/mysql:/home/scripts
ports:
- 3306:3306
restart: unless-stopped
working_dir: /home
command: sh /home/scripts/start.sh
mailcatcher:
# restart: on-failure
image: dockage/mailcatcher:0.9.0
ports:
- "1080:1080"
- "1025:1025"
adminer:
image: adminer
restart: always
ports:
- 8080:8080
nodejs:
build:
context: ../../dockerfiles/nodejs
dockerfile: Dockerfile
volumes:
- ../scripts/nodejs:/home/scripts
- ../../app:/home/app
command: sh /home/scripts/start.sh
networks:
default:
external:
name: dockernet