|
|
@isbase docker-compose 里面指定 ip 就好了。
```services:
app:
image: 'hslr/sun-panel:latest'
container_name: 'SunPanel'
restart: unless-stopped
volumes:
- /volume1/docker/sun-panel/conf:/app/conf
networks:
mynet:
ipv4_address: 172.18.0.20
networks:
mynet:
external: true
``` |
|