24 lines
482 B
YAML
24 lines
482 B
YAML
services:
|
|
app:
|
|
image: 'docker.io/jc21/nginx-proxy-manager:latest'
|
|
container_name: nginx-proxy-manager
|
|
restart: unless-stopped
|
|
ports:
|
|
- '80:80'
|
|
- '81:81'
|
|
- '443:443'
|
|
volumes:
|
|
- npm_data:/data
|
|
- npm_letsencrypt:/etc/letsencrypt
|
|
networks:
|
|
- nginx_default
|
|
- forgejo_default # Add this line
|
|
|
|
networks:
|
|
nginx_default:
|
|
forgejo_default:
|
|
external: true # Add this section
|
|
|
|
volumes:
|
|
npm_data:
|
|
npm_letsencrypt:
|