2018-07-31 20:04:34 -04:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
app:
|
2019-05-10 01:26:12 -04:00
|
|
|
image: jc21/nginx-proxy-manager:latest
|
2018-07-31 20:04:34 -04:00
|
|
|
restart: always
|
2018-08-24 02:59:03 -04:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 81:81
|
|
|
|
- 443:443
|
2018-07-31 20:04:34 -04:00
|
|
|
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
|
2018-07-31 20:04:34 -04:00
|
|
|
db:
|
2019-05-10 01:26:12 -04:00
|
|
|
image: mariadb:latest
|
2018-07-31 20:04:34 -04:00
|
|
|
restart: always
|
|
|
|
environment:
|
2019-05-10 01:26:12 -04:00
|
|
|
MYSQL_ROOT_PASSWORD: "npm"
|
|
|
|
MYSQL_DATABASE: "npm"
|
|
|
|
MYSQL_USER: "npm"
|
|
|
|
MYSQL_PASSWORD: "npm"
|
2018-07-31 20:04:34 -04:00
|
|
|
volumes:
|
|
|
|
- ./data/mysql:/var/lib/mysql
|