Files
skato-compose/compose.yml

68 lines
1.5 KiB
YAML

---
networks:
frontend:
driver: bridge
enable_ipv6: true
enable_ipv4: true
backend:
driver: bridge
enable_ipv6: true
enable_ipv4: true
# volumes:
# grocy.vol:
secrets:
generic:
file: ./secrets.env
services:
gitea:
image: docker.gitea.com/gitea:latest
container_name: gitea
environment:
- USER_UID=$(id -u git)
- USER_GID=$(id -u git)
restart: always
networks:
- frontend
volumes:
- ~/.storage/containers/gitea.vol:/data
- /etc/localtime:/etc/localtime:ro
ports:
- 0.0.0.0:3000:3000
- "[::]:3000:3000"
- 127.0.0.1:2222:22
- "[::1]:22:22"
opengist:
image: ghcr.io/thomiceli/opengist:latest
container_name: opengist
restart: unless-stopped
ports:
- 6157:6157
- 2222:2223
volumes:
- ~/.storage/containers/opengist.vol:/opengist
- ~/.config/opengist/config.yml:/config.yml
- /etc/localtime:/etc/localtime:ro
environment:
OG_LOG_LEVEL: warn
UID: $(id -u git)
GID: $(id -u git)
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/localtime:/etc/localtime:ro
ports:
- 9283:9283
restart: unless-stopped
networks:
- frontend