1
0
Fork 0

caddy: set static IP

This commit is contained in:
Lukáš Kucharczyk 2023-12-05 10:55:22 +01:00
parent a4ceafd5f0
commit 34a2a04b6b
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 7 additions and 2 deletions

View File

@ -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: