examples - same domains for internal tests
This commit is contained in:
parent
481e10d3ef
commit
78c1e5c676
@ -26,9 +26,9 @@ services:
|
|||||||
image: php:fpm
|
image: php:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./web-files/app1.domain.com:/app
|
- ./web-files/app1.website.com:/app
|
||||||
labels:
|
labels:
|
||||||
- "bunkerized-nginx.SERVER_NAME=app1.domain.com" # replace with your domain
|
- "bunkerized-nginx.SERVER_NAME=app1.website.com" # replace with your domain
|
||||||
- "bunkerized-nginx.REMOTE_PHP=myapp1"
|
- "bunkerized-nginx.REMOTE_PHP=myapp1"
|
||||||
- "bunkerized-nginx.REMOTE_PHP_PATH=/app"
|
- "bunkerized-nginx.REMOTE_PHP_PATH=/app"
|
||||||
|
|
||||||
@ -36,9 +36,9 @@ services:
|
|||||||
image: php:fpm
|
image: php:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./web-files/app2.domain.com:/app
|
- ./web-files/app2.website.com:/app
|
||||||
labels:
|
labels:
|
||||||
- "bunkerized-nginx.SERVER_NAME=app2.domain.com" # replace with your domain
|
- "bunkerized-nginx.SERVER_NAME=app2.website.com" # replace with your domain
|
||||||
- "bunkerized-nginx.REMOTE_PHP=myapp2"
|
- "bunkerized-nginx.REMOTE_PHP=myapp2"
|
||||||
- "bunkerized-nginx.REMOTE_PHP_PATH=/app"
|
- "bunkerized-nginx.REMOTE_PHP_PATH=/app"
|
||||||
|
|
||||||
@ -46,8 +46,8 @@ services:
|
|||||||
image: php:fpm
|
image: php:fpm
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./web-files/app3.domain.com:/app
|
- ./web-files/app3.website.com:/app
|
||||||
labels:
|
labels:
|
||||||
- "bunkerized-nginx.SERVER_NAME=app3.domain.com" # replace with your domain
|
- "bunkerized-nginx.SERVER_NAME=app3.website.com" # replace with your domain
|
||||||
- "bunkerized-nginx.REMOTE_PHP=myapp3"
|
- "bunkerized-nginx.REMOTE_PHP=myapp3"
|
||||||
- "bunkerized-nginx.REMOTE_PHP_PATH=/app"
|
- "bunkerized-nginx.REMOTE_PHP_PATH=/app"
|
||||||
|
|||||||
@ -28,7 +28,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
labels:
|
labels:
|
||||||
- "bunkerized-nginx.SERVER_NAME=app1.domain.com" # replace with your domain
|
- "bunkerized-nginx.SERVER_NAME=app1.website.com" # replace with your domain
|
||||||
- "bunkerized-nginx.REVERSE_PROXY_URL=/"
|
- "bunkerized-nginx.REVERSE_PROXY_URL=/"
|
||||||
- "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp1:3000"
|
- "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp1:3000"
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
labels:
|
labels:
|
||||||
- "bunkerized-nginx.SERVER_NAME=app2.domain.com" # replace with your domain
|
- "bunkerized-nginx.SERVER_NAME=app2.website.com" # replace with your domain
|
||||||
- "bunkerized-nginx.REVERSE_PROXY_URL=/"
|
- "bunkerized-nginx.REVERSE_PROXY_URL=/"
|
||||||
- "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp2:3000"
|
- "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp2:3000"
|
||||||
|
|
||||||
@ -48,6 +48,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
labels:
|
labels:
|
||||||
- "bunkerized-nginx.SERVER_NAME=app3.domain.com" # replace with your domain
|
- "bunkerized-nginx.SERVER_NAME=app3.website.com" # replace with your domain
|
||||||
- "bunkerized-nginx.REVERSE_PROXY_URL=/"
|
- "bunkerized-nginx.REVERSE_PROXY_URL=/"
|
||||||
- "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp3:3000"
|
- "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp3:3000"
|
||||||
|
|||||||
@ -33,7 +33,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MOODLE_USERNAME=admin # replace with your moodle admin username
|
- MOODLE_USERNAME=admin # replace with your moodle admin username
|
||||||
- MOODLE_PASSWORD=password # replace with your moodle admin password
|
- MOODLE_PASSWORD=password # replace with your moodle admin password
|
||||||
- MOODLE_EMAIL=moodle@website.com # replace with your moodle admin email
|
- MOODLE_EMAIL=moodle@website.com # replace with your moodle admin email
|
||||||
- MOODLE_SITE_NAME=My Moodle # replace with your moodle site name
|
- MOODLE_SITE_NAME=My Moodle # replace with your moodle site name
|
||||||
- MOODLE_DATABASE_HOST=mydb
|
- MOODLE_DATABASE_HOST=mydb
|
||||||
- MOODLE_DATABASE_NAME=moodle
|
- MOODLE_DATABASE_NAME=moodle
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user