1
0
Fork 0

postgres: move to separate file

This commit is contained in:
Lukáš Kucharczyk 2023-12-05 11:32:16 +01:00
parent 623e599a98
commit 52608253b1
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 15 additions and 13 deletions

View File

@ -10,6 +10,7 @@ include:
- services/miniflux.yml
- services/jelu.yml
- services/sonarr.yml
- services/postgres.yml
- services/nextcloud.yml
@ -498,19 +499,6 @@ services:
profiles:
- base
postgres:
container_name: postgres
image: postgres:latest
networks:
public:
ipv4_address: 192.168.240.25
volumes:
- "${DOCKER_STORAGE_PATH}/postgres:/var/lib/postgresql/data"
restart: unless-stopped
profiles:
- base
- infra
gitea:
container_name: gitea
image: ${REGISTRY_URL}/gitea:latest

14
services/postgres.yml Normal file
View File

@ -0,0 +1,14 @@
---
services:
postgres:
container_name: postgres
image: postgres:latest
networks:
public:
ipv4_address: 192.168.240.25
volumes:
- "${DOCKER_STORAGE_PATH}/postgres:/var/lib/postgresql/data"
restart: unless-stopped
profiles:
- base
- infra