first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
version: "3.6"
|
||||
services:
|
||||
bitwarden:
|
||||
environment:
|
||||
- VIRTUAL_HOST=example.test.com
|
||||
image: bitwardenrs/server:1.16.3
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./bw_data:/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
|
||||
server {
|
||||
listen 80;
|
||||
index index.php index.html;
|
||||
server_name localhost;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
root /home/wwwroot/;
|
||||
|
||||
|
||||
location ~ .php {
|
||||
# try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+.php)(/.+)$;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
web:
|
||||
environment:
|
||||
- VIRTUAL_HOST=example.test.com
|
||||
image: nginx:latest
|
||||
volumes:
|
||||
- ./app:/home/wwwroot/
|
||||
- ./config/nginx/site.conf:/etc/nginx/conf.d/default.conf
|
||||
|
||||
php:
|
||||
image: php:7.0-fpm
|
||||
volumes:
|
||||
- ./app:/home/wwwroot/
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
@@ -0,0 +1,13 @@
|
||||
version: "3.6"
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: jwilder/nginx-proxy
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
@@ -0,0 +1,33 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
db_node_domain:
|
||||
image: mysql:8.0
|
||||
command:
|
||||
- --default_authentication_plugin=mysql_native_password
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
volumes:
|
||||
- ./db_data:/var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: somewordpress_wp
|
||||
MYSQL_DATABASE: wordpress
|
||||
MYSQL_USER: wordpress
|
||||
MYSQL_PASSWORD: wordpress
|
||||
|
||||
wordpress:
|
||||
depends_on:
|
||||
- db_node_domain
|
||||
image: wordpress:latest
|
||||
restart: always
|
||||
environment:
|
||||
VIRTUAL_HOST: example.test.com
|
||||
WORDPRESS_DB_HOST: db_node_domain:3306
|
||||
WORDPRESS_DB_USER: wordpress
|
||||
WORDPRESS_DB_PASSWORD: wordpress
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
Reference in New Issue
Block a user