Compare commits

..

20 Commits

Author SHA1 Message Date
Rika T.
363c84dc0b fix: turns out publication of port unnecessary for outgoing connections 2025-12-14 23:55:34 +00:00
Alex Tavarez
429f9f4b2b Changed to publish sendmail port as well 2025-12-14 18:31:07 -05:00
Rika T.
e605db5021 Got opengist container working with requisite environment variables for OAuth2 2025-12-06 20:52:28 +00:00
Rika T.
47c92728d3 Excluded environment variable files from version control 2025-12-06 20:51:40 +00:00
Alex Tavarez
a8717b7aed ... 2025-12-06 11:19:31 -05:00
Alex Tavarez
cc9b9dfdad ... 2025-12-06 11:10:22 -05:00
Alex Tavarez
f73917a0f3 Reverted to rootful container for gitea 2025-12-06 11:05:10 -05:00
Alex Tavarez
78d2ae0ffa Removed IPv6 support 2025-12-06 11:02:34 -05:00
Alex Tavarez
1d9755a1cd Removed explicit user for running container 2025-12-06 10:58:31 -05:00
Alex Tavarez
b942675b78 Made IPv6 only 2025-12-06 10:43:55 -05:00
Alex Tavarez
24a1e24cb5 Removed attempt to publish on privileged host port 2025-12-06 10:40:57 -05:00
Alex Tavarez
3220afa80a Removed an unworkable volume mount 2025-12-06 10:38:05 -05:00
Alex Tavarez
745ffa80f2 Added IPv6 capability and changed user IDs for gitea to use git user 2025-12-06 10:35:34 -05:00
Rika T.
a9b2f078d0 Removed environment variables specifying user and group IDs 2025-12-06 02:30:00 +00:00
Alex Tavarez
25ceb441d4 Removed named volumes as no longer necessary 2025-12-05 15:25:22 -05:00
Alex Tavarez
171b3aa113 Changed paths for container data on host 2025-12-05 15:21:06 -05:00
Alex Tavarez
f2e09ff322 fix: changed volume bind mount to correct host path 2025-12-05 15:11:22 -05:00
Alex Tavarez
a4578890ad Excluded some files from version control 2025-12-05 15:02:18 -05:00
Alex Tavarez
a25e1c68ce Removed a network driver 2025-12-05 15:01:18 -05:00
Alex Tavarez
9442f4e90e Refactored Compose file configurations for services 2025-12-05 14:01:04 -05:00
5 changed files with 62 additions and 56 deletions

2
.gitignore vendored Normal file
View File

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

60
compose.yml Normal file
View File

@@ -0,0 +1,60 @@
---
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

View File

@@ -1,20 +0,0 @@
---
volumes:
gitea.vol:
services:
gitea:
image: docker.gitea.com/gitea:1.25.2
container_name: gitea
environment:
- USER_UID=$(id -u $USER)
- USER_GID=$(id -u $USER)
restart: always
networks:
- gitea
volumes:
- gitea.vol:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 3000:3000
- 2222:2222

View File

@@ -1,18 +0,0 @@
---
# volumes:
# grocy.vol:
services:
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

View File

@@ -1,18 +0,0 @@
---
volumes:
opengist.vol:
services:
opengist:
image: ghcr.io/thomiceli/opengist:1.11.1
container_name: opengist
restart: unless-stopped
ports:
- 6157:6157
- 2222:2223
volumes:
- opengist.vol:/opengist
- ~/.config/opengist/config.yml:/config.yml"
environment:
OG_SSH_PORT: 22
UID: $(id -u $USER)
GID: $(id -u $USER)