|
|
@ -120,20 +120,20 @@ To solve this, specify the `interface_name` and `gw_priority` explicitly in your |
|
|
|
|
|
|
|
|
```yaml |
|
|
```yaml |
|
|
services: |
|
|
services: |
|
|
wg-easy: |
|
|
wg-easy: |
|
|
# ... other configuration ... |
|
|
# ... other configuration ... |
|
|
networks: |
|
|
networks: |
|
|
wg: |
|
|
wg: |
|
|
interface_name: eth0 |
|
|
interface_name: eth0 |
|
|
gw_priority: 1 |
|
|
gw_priority: 1 |
|
|
ipv4_address: 10.42.42.42 |
|
|
ipv4_address: 10.42.42.42 |
|
|
nginx: |
|
|
nginx: |
|
|
interface_name: eth1 |
|
|
interface_name: eth1 |
|
|
gw_priority: 0 |
|
|
gw_priority: 0 |
|
|
|
|
|
|
|
|
networks: |
|
|
networks: |
|
|
wg: |
|
|
wg: |
|
|
# ... wg network config ... |
|
|
# ... wg network config ... |
|
|
nginx: |
|
|
nginx: |
|
|
external: true |
|
|
external: true |
|
|
``` |
|
|
``` |
|
|
|