christianlempa-boilerplates/docker-compose/nginxproxymanager/docker-compose.yaml

31 lines
727 B
YAML
Raw Normal View History

2023-05-25 14:26:13 +02:00
---
volumes:
nginxproxymanager-data:
nginxproxymanager-ssl:
nginxproxymanager-db:
2021-10-08 14:01:07 +02:00
services:
nginxproxymanager:
2023-05-25 14:26:13 +02:00
image: jc21/nginx-proxy-manager:2.10.3
2021-10-08 14:01:07 +02:00
ports:
2023-05-25 14:26:13 +02:00
- 80:80
- 81:81
- 443:443
2021-10-08 14:01:07 +02:00
environment:
2023-05-25 14:26:13 +02:00
- DB_MYSQL_HOST=nginxproxymanager-db
- DB_MYSQL_PORT=3306
- DB_MYSQL_USER=npm
- DB_MYSQL_PASSWORD=npm
- DB_MYSQL_NAME=npm
2021-10-08 14:01:07 +02:00
volumes:
- nginxproxymanager-data:/data
- nginxproxymanager-ssl:/etc/letsencrypt
nginxproxymanager-db:
2023-05-25 14:26:13 +02:00
image: jc21/mariadb-aria:10.4.15
2021-10-08 14:01:07 +02:00
environment:
2023-05-25 14:26:13 +02:00
- MYSQL_ROOT_PASSWORD=npm
- MYSQL_DATABASE=npm
- MYSQL_USER=npm
- MYSQL_PASSWORD=npm
2021-10-08 14:01:07 +02:00
volumes:
- nginxproxymanager-db:/var/lib/mysql