docker-compose.yml für nginx
This commit is contained in:
22
docker/nginx/docker-compose.yml
Normal file
22
docker/nginx/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
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