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

24 lines
528 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
2018-08-18 03:16:23 -04:00
links:
- 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