64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
---
|
|
networks:
|
|
frontend:
|
|
driver: bridge
|
|
backend:
|
|
driver: bridge
|
|
volumes:
|
|
gitea.vol:
|
|
opengist.vol:
|
|
# grocy.vol:
|
|
secrets:
|
|
generic:
|
|
file: ./secrets.env
|
|
services:
|
|
gitea:
|
|
image: docker.gitea.com/gitea:latest
|
|
container_name: gitea
|
|
environment:
|
|
- USER_UID=$(id -u $USER)
|
|
- USER_GID=$(id -u $USER)
|
|
restart: always
|
|
networks:
|
|
- frontend
|
|
volumes:
|
|
- gitea.vol:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- 3000:3000
|
|
- 2222:2222
|
|
opengist:
|
|
image: ghcr.io/thomiceli/opengist:latest
|
|
container_name: opengist
|
|
restart: unless-stopped
|
|
ports:
|
|
- 6157:6157
|
|
- 2222:2223
|
|
volumes:
|
|
- opengist.vol:/opengist
|
|
- ~/.config/opengist/config.yml:/config.yml"
|
|
environment:
|
|
OG_LOG_LEVEL: warn
|
|
OG_SSH_PORT: 22
|
|
UID: $(id -u $USER)
|
|
GID: $(id -u $USER)
|
|
networks:
|
|
- frontend
|
|
# @TODO the below services are in the future meant to be in a LAN homeserver or tailscale/headscale exit node
|
|
grocy:
|
|
image: lscr.io/linuxserver/grocy:latest
|
|
container_name: grocy
|
|
environment:
|
|
- PUID=$(id -u $USER)
|
|
- PGID=$(id -u $USER)
|
|
- TZ=Etc/UTC
|
|
volumes:
|
|
# - grocy.vol:/data
|
|
- ~/.config/grocy:/config
|
|
- /etc/timezone:/etc/timezone:ro
|
|
ports:
|
|
- 9283:9283
|
|
restart: unless-stopped
|
|
networks:
|
|
- frontend |