mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 19:23:22 +01:00
31 lines
747 B
YAML
31 lines
747 B
YAML
---
|
|
volumes:
|
|
nginxproxymanager-data:
|
|
nginxproxymanager-ssl:
|
|
nginxproxymanager-db:
|
|
services:
|
|
nginxproxymanager:
|
|
image: docker.io/jc21/nginx-proxy-manager:2.12.1
|
|
ports:
|
|
- 80:80
|
|
- 81:81
|
|
- 443:443
|
|
environment:
|
|
- DB_MYSQL_HOST=nginxproxymanager-db
|
|
- DB_MYSQL_PORT=3306
|
|
- DB_MYSQL_USER=npm
|
|
- DB_MYSQL_PASSWORD=npm
|
|
- DB_MYSQL_NAME=npm
|
|
volumes:
|
|
- nginxproxymanager-data:/data
|
|
- nginxproxymanager-ssl:/etc/letsencrypt
|
|
nginxproxymanager-db:
|
|
image: docker.io/jc21/mariadb-aria:10.11.5
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=npm
|
|
- MYSQL_DATABASE=npm
|
|
- MYSQL_USER=npm
|
|
- MYSQL_PASSWORD=npm
|
|
volumes:
|
|
- nginxproxymanager-db:/var/lib/mysql
|