61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
---
|
|
networks:
|
|
frontend:
|
|
driver: bridge
|
|
backend:
|
|
driver: bridge
|
|
# volumes:
|
|
# grocy.vol:
|
|
# secrets:
|
|
# generic:
|
|
# file: ./secrets.env
|
|
services:
|
|
gitea:
|
|
image: docker.gitea.com/gitea:1.25.2
|
|
container_name: gitea
|
|
restart: always
|
|
networks:
|
|
- frontend
|
|
volumes:
|
|
- ~/.storage/containers/gitea.vol:/data
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- 3000:3000
|
|
- "2222:22"
|
|
opengist:
|
|
image: ghcr.io/thomiceli/opengist:1
|
|
container_name: opengist
|
|
restart: unless-stopped
|
|
ports:
|
|
- 6157:6157
|
|
- 2223:2222
|
|
volumes:
|
|
- ~/.storage/containers/opengist.vol:/opengist
|
|
# - ~/.config/opengist/config.yml:/config.yml
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
OG_GITEA_CLIENT_KEY: ${OG_GITEA_CLIENT_KEY:?Provide gitea client key}
|
|
OG_GITEA_SECRET: ${OG_GITEA_SECRET:?Provide gitea secret}
|
|
OG_GITEA_URL: ${OG_GITEA_URL:?Provide gitea FQDN URL}
|
|
# secrets:
|
|
# - generic
|
|
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
|