Created
March 24, 2021 22:46
-
-
Save placecodex/0bad01ac84937ea81ecd7be640342001 to your computer and use it in GitHub Desktop.
Nginx Proxy Manager restart: always
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
image: 'jc21/nginx-proxy-manager:latest' | |
restart: always | |
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: | |
- ./data:/data | |
- ./letsencrypt:/etc/letsencrypt | |
db: | |
image: 'jc21/mariadb-aria:latest' | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: 'npm' | |
MYSQL_DATABASE: 'npm' | |
MYSQL_USER: 'npm' | |
MYSQL_PASSWORD: 'npm' | |
volumes: | |
- ./data/mysql:/var/lib/mysql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment