nginx-proxy-manager/docker-compose.yml

34 lines
867 B
YAML
Raw Normal View History

# WARNING: This is a DEVELOPMENT docker-compose file, it should not be used for production.
2017-12-20 18:02:37 -05:00
version: "2"
services:
app:
2018-07-31 21:17:31 -04:00
image: jc21/nginx-proxy-manager-base:latest
2017-12-20 18:02:37 -05:00
ports:
- 80:80
- 81:81
- 43:443
2017-12-20 18:02:37 -05:00
environment:
- NODE_ENV=development
2018-06-19 18:45:27 -04:00
- FORCE_COLOR=1
2017-12-20 18:02:37 -05:00
volumes:
2018-12-11 18:47:12 -05:00
- ./data:/data
2018-06-19 18:45:27 -04:00
- ./data/letsencrypt:/etc/letsencrypt
2018-07-31 21:17:31 -04:00
- .:/app
- ./rootfs/etc/nginx:/etc/nginx
2018-07-31 21:17:31 -04:00
working_dir: /app
2018-06-19 18:45:27 -04:00
depends_on:
- db
links:
- db
command: node --max_old_space_size=250 --abort_on_uncaught_exception node_modules/nodemon/bin/nodemon.js
db:
image: jc21/mariadb-aria
2018-06-19 18:45:27 -04:00
environment:
MYSQL_ROOT_PASSWORD: "npm"
MYSQL_DATABASE: "npm"
MYSQL_USER: "npm"
MYSQL_PASSWORD: "npm"
volumes:
- ./config/my.cnf:/etc/mysql/conf.d/npm.cnf
- ./data/mysql:/var/lib/mysql