1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 214c9806f2
postgres: move to separate file 2023-12-05 11:32:16 +01:00
Lukáš Kucharczyk df38443d5c
nextcloud: add 2023-12-05 11:31:20 +01:00
3 changed files with 35 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.32
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

13
services/postgres.yml Normal file
View File

@ -0,0 +1,13 @@
---
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