Compare commits

...

12 Commits

Author SHA1 Message Date
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
2 changed files with 16 additions and 17 deletions

3
.gitignore vendored
View File

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

View File

@@ -6,16 +6,13 @@ networks:
driver: bridge driver: bridge
# 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 $USER)
- USER_GID=$(id -u $USER)
restart: always restart: always
networks: networks:
- frontend - frontend
@@ -24,23 +21,24 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- 3000:3000 - 3000:3000
- 2222:2222 - "2222: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}
OG_SSH_PORT: 22 OG_GITEA_SECRET: ${OG_GITEA_SECRET:?Provide gitea secret}
UID: $(id -u $USER) OG_GITEA_URL: ${OG_GITEA_URL:?Provide gitea FQDN URL}
GID: $(id -u $USER) # 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
@@ -59,4 +57,4 @@ services:
- 9283:9283 - 9283:9283
restart: unless-stopped restart: unless-stopped
networks: networks:
- frontend - frontend