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/miniflux.yml
- services/jelu.yml - services/jelu.yml
- services/sonarr.yml - services/sonarr.yml
- services/postgres.yml
- services/nextcloud.yml - services/nextcloud.yml
@ -498,19 +499,6 @@ services:
profiles: profiles:
- base - 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: gitea:
container_name: gitea container_name: gitea
image: ${REGISTRY_URL}/gitea:latest 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