Compare commits

...

10 Commits

2 changed files with 16 additions and 23 deletions

3
.gitignore vendored
View File

@@ -1 +1,2 @@
secrets.env .env
*.env

View File

@@ -2,51 +2,43 @@
networks: networks:
frontend: frontend:
driver: bridge driver: bridge
enable_ipv6: true
enable_ipv4: true
backend: backend:
driver: bridge driver: bridge
enable_ipv6: true
enable_ipv4: true
# volumes: # volumes:
# grocy.vol: # grocy.vol:
secrets: # secrets:
generic: # generic:
file: ./secrets.env # file: ./secrets.env
services: services:
gitea: gitea:
image: docker.gitea.com/gitea:latest image: docker.gitea.com/gitea:1.25.2
container_name: gitea container_name: gitea
environment:
- USER_UID=$(id -u git)
- USER_GID=$(id -u git)
restart: always restart: always
networks: networks:
- frontend - frontend
volumes: volumes:
- ~/.storage/containers/gitea.vol:/data - ~/.storage/containers/gitea.vol:/data
- /home/git/.ssh:/data/git/.ssh
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- 0.0.0.0:3000:3000 - 3000:3000
- "[::]:3000:3000" - "2222:22"
- 127.0.0.1:2222:22
- "[::1]:22:22"
opengist: opengist:
image: ghcr.io/thomiceli/opengist:latest image: ghcr.io/thomiceli/opengist:1
container_name: opengist container_name: opengist
restart: unless-stopped restart: unless-stopped
ports: ports:
- 6157:6157 - 6157:6157
- 2222:2223 - 2223:2222
volumes: volumes:
- ~/.storage/containers/opengist.vol:/opengist - ~/.storage/containers/opengist.vol:/opengist
- ~/.config/opengist/config.yml:/config.yml # - ~/.config/opengist/config.yml:/config.yml
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
environment: environment:
OG_LOG_LEVEL: warn OG_GITEA_CLIENT_KEY: ${OG_GITEA_CLIENT_KEY:?Provide gitea client key}
UID: $(id -u git) OG_GITEA_SECRET: ${OG_GITEA_SECRET:?Provide gitea secret}
GID: $(id -u git) OG_GITEA_URL: ${OG_GITEA_URL:?Provide gitea FQDN URL}
# secrets:
# - generic
networks: networks:
- frontend - frontend
# @TODO the below services are in the future meant to be in a LAN homeserver or tailscale/headscale exit node # @TODO the below services are in the future meant to be in a LAN homeserver or tailscale/headscale exit node