caddy: set static IP
This commit is contained in:
parent
a4ceafd5f0
commit
34a2a04b6b
|
@ -29,8 +29,9 @@ services:
|
|||
- "/www/notes:/srv/notes"
|
||||
- "timetracker-static:/srv/timetracker"
|
||||
networks:
|
||||
- public
|
||||
- caddy
|
||||
public:
|
||||
ipv4_address: 192.168.240.2
|
||||
caddy:
|
||||
profiles:
|
||||
- infra
|
||||
- base
|
||||
|
@ -609,6 +610,10 @@ networks:
|
|||
internal: true
|
||||
public:
|
||||
attachable: true
|
||||
ipam:
|
||||
config:
|
||||
# 192.168.240.1 - 192.168.240.254
|
||||
- subnet: "192.168.240.0/24"
|
||||
postgres:
|
||||
external: true
|
||||
mariadb:
|
||||
|
|
Loading…
Reference in New Issue