christianlempa-boilerplates/docker-compose/nginxproxymanager/docker-compose.yaml
2022-03-04 13:45:48 +01:00

32 lines
735 B
YAML

version: '3'
volumes:
nginxproxymanager-data:
nginxproxymanager-ssl:
nginxproxymanager-db:
services:
nginxproxymanager:
image: 'jc21/nginx-proxy-manager:latest'
ports:
- '80:80'
- '81:81'
- '443:443'
environment:
DB_MYSQL_HOST: "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: 'jc21/mariadb-aria:latest'
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- nginxproxymanager-db:/var/lib/mysql