1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 52608253b1
postgres: move to separate file 2023-12-05 11:34:58 +01:00
Lukáš Kucharczyk 623e599a98
nextcloud: add 2023-12-05 11:34:52 +01:00
3 changed files with 36 additions and 13 deletions

View File

@ -10,6 +10,8 @@ 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: services:
@ -497,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

20
services/nextcloud.yml Normal file
View File

@ -0,0 +1,20 @@
---
services:
nextcloud:
image: registry.kucharczyk.xyz/nextcloud:latest
container_name: nextcloud
networks:
public:
ipv4_address: 192.168.240.40
depends_on:
- postgres
volumes:
- "${DOCKER_STORAGE_PATH}/nextcloud/config:/var/www/html/config"
- "${DOCKER_STORAGE_PATH}/nextcloud/data:/var/www/html/data"
- "${DOCKER_STORAGE_PATH}/nextcloud/html:/var/www/html"
environment:
# caddy
- TRUSTED_PROXIES=192.168.240.2
profiles:
- base
restart: unless-stopped

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