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

29 lines
619 B
YAML
Raw Normal View History

version: "3"
services:
app:
image: jc21/nginx-proxy-manager:latest
restart: always
2018-08-24 02:59:03 -04:00
ports:
- 80:80
- 81:81
- 443:443
volumes:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
2018-08-24 02:59:03 -04:00
environment:
# if you want pretty colors in your docker logs:
- FORCE_COLOR=1
db:
image: mariadb:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: "npm"
MYSQL_DATABASE: "npm"
MYSQL_USER: "npm"
MYSQL_PASSWORD: "npm"
volumes:
- ./data/mysql:/var/lib/mysql