This commit is contained in:
Jarosław Karcewicz 2022-08-20 20:23:18 +02:00
parent 19dd664a01
commit 593103cd52

View File

@ -3,7 +3,26 @@ services:
app:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx-proxy-manager
restart: always
ports:
- '80:80'
- '81:81'
- '443:443'
- '80:80' #HTTP Traffic
- '443:443' #Dashboard Port
- '81:81' #HTTPS Traffic
volumes:
- '/docker/npm/config.json:/app/config/production.json'
- '/docker/npm/data:/data'
- '/docker/npm/letsencrypt:/etc/letsencrypt'
depends_on:
- db
db:
image: 'jc21/mariadb-aria:latest'
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'MyP@$$word'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'MyP@$$word'
volumes:
- '/docker/npm/data/mysql:/var/lib/mysql'