Docker Community Forums

Share and learn in the Docker community.

Docker Synology Nginx-Proxy-Manager

Good evening,

i tried to install

NginxProxy

GitHub - jc21/nginx-proxy-manager: Docker container for managing Nginx proxy hosts with a simple, powerful interface

on a Synology there is Port 443 already in use. I use a Fritzbox.

Then i tried a macvlan with: sudo docker network create -d macvlan -o parent=ovs_eth0 --subnet=192.168.178.0/24 --gateway=192.168.178.1 --ip-range=192.168.178.210/32 npm_network

and make a npm_bridge.

How i can edit the docker-compose.yml that the docker-compose.yml use this both network not the nginx_default.

my docker-compose.yml

services:
app:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-app
restart: always
ports:
- 80:80
- 81:81
- 443:443
volumes:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
environment:
# if you want pretty colors in your docker logs:
- FORCE_COLOR=1
db:
image: mariadb:latest
container_name: nginx-proxy-db
restart: always
environment:
MYSQL_ROOT_PASSWORD: “npm”
MYSQL_DATABASE: “npm”
MYSQL_USER: “npm”
MYSQL_PASSWORD: “npm”
volumes:
- ./data/mysql:/var/lib/mysql

I hope anyone can help.