nginx-proxy-manager/doc/example/docker-compose.yml
Jamie Curnow c1938f949d Polish
2018-08-23 14:24:28 +10:00

22 lines
506 B
YAML

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