docker-compose.yml für nginx

This commit is contained in:
Olli Graf
2023-06-09 14:22:39 +02:00
parent 9af91766dd
commit df00806c79

View 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