Initial commit
This commit is contained in:
5
stacks/storage/compose.yaml
Normal file
5
stacks/storage/compose.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: storage
|
||||
|
||||
include:
|
||||
- ./copyparty.yaml
|
||||
- ./gitea.yaml
|
||||
18
stacks/storage/copyparty.yaml
Normal file
18
stacks/storage/copyparty.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
copyparty:
|
||||
image: copyparty/ac:latest
|
||||
container_name: copyparty
|
||||
command: ["-c", "/cfg/copyparty.conf"]
|
||||
ports:
|
||||
- "3923:3923"
|
||||
volumes:
|
||||
- /srv/homelab/config/storage/copyparty:/cfg
|
||||
- /srv/homelab/config/storage/copyparty/initcfg:/z/initcfg:ro
|
||||
- /srv/media:/srv/media
|
||||
- /srv/homelab/data/storage/copyparty:/w
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
21
stacks/storage/gitea.yaml
Normal file
21
stacks/storage/gitea.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
|
||||
services:
|
||||
server:
|
||||
image: docker.gitea.com/gitea:1.25.4
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- /srv/homelab/data/storage/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
Reference in New Issue
Block a user