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