nginx-proxy-manager/doc/example/docker-compose.yml

22 lines
506 B
YAML
Raw Normal View History

version: "3"
services:
app:
image: jc21/nginx-proxy-manager:2
restart: always
volumes:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: "password123"
MYSQL_DATABASE: "nginxproxymanager"
MYSQL_USER: "nginxproxymanager"
MYSQL_PASSWORD: "password123"
volumes:
- ./data/mysql:/var/lib/mysql