This commit is contained in:
Jarosław Karcewicz 2022-08-20 20:32:52 +02:00
parent 593103cd52
commit 5eaff802d8

View File

@ -6,23 +6,10 @@ services:
restart: always
ports:
- '80:80' #HTTP Traffic
- '443:443' #Dashboard Port
- '81:81' #HTTPS Traffic
- '443:443' #HTTPS Traffic
- '81:81' #Dashboard Port
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'