Major changes
This commit is contained in:
@@ -5,11 +5,11 @@ services:
|
||||
volumes:
|
||||
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
|
||||
- "./etc/ssl:/etc/ssl"
|
||||
- "./web:/var/www/html"
|
||||
- "./Open-RSC-Website:/var/www/html/public"
|
||||
- "./etc/nginx/default.template.conf:/etc/nginx/conf.d/default.template"
|
||||
ports:
|
||||
- "8000:80"
|
||||
- "3000:443"
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
environment:
|
||||
- NGINX_HOST=${NGINX_HOST}
|
||||
command: /bin/sh -c "envsubst '$$NGINX_HOST' < /etc/nginx/conf.d/default.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
|
||||
@@ -22,12 +22,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- "./etc/php/php.ini:/usr/local/etc/php/conf.d/php.ini"
|
||||
- "./web:/var/www/html"
|
||||
composer:
|
||||
image: "composer"
|
||||
volumes:
|
||||
- "./web/app:/app"
|
||||
command: install
|
||||
- "./Open-RSC-Website:/var/www/html/public"
|
||||
myadmin:
|
||||
image: phpmyadmin/phpmyadmin
|
||||
container_name: phpmyadmin
|
||||
@@ -51,6 +46,6 @@ services:
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
ports:
|
||||
- "8989:3306"
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- "./data/db/mysql:/var/lib/mysql"
|
||||
- "./data/db/mysql:/var/lib/mysql"
|
||||
|
||||
Reference in New Issue
Block a user