Dateien aus den Blog-Posts eingebaut.
This commit is contained in:
4
nginx/createdb.sql
Normal file
4
nginx/createdb.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
create user npm identified by '<passwort>';
|
||||
create database npm;
|
||||
grant all privileges on npm.* to npm;
|
||||
flush privileges;
|
21
nginx/docker-compose.yml
Normal file
21
nginx/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
container_name: nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '84:80'
|
||||
- '81:81'
|
||||
- '443:443'
|
||||
environment:
|
||||
TZ: 'Europe/Berlin'
|
||||
DB_MYSQL_HOST: "database"
|
||||
DB_MYSQL_PORT: "3306"
|
||||
DB_MYSQL_USER: "npm"
|
||||
DB_MYSQL_PASSWORD: "<passwort>"
|
||||
DB_MYSQL_NAME: "npm"
|
||||
volumes:
|
||||
- /opt/nginx:/data
|
||||
# - /opt/nginx-etc:/etc
|
||||
- /opt/letsencrypt:/etc/letsencrypt
|
Reference in New Issue
Block a user