Compare commits

..
12 Commits
2 changed files with 16 additions and 17 deletions
+2 -1
View File
@@ -1 +1,2 @@
secrets.env
.env
*.env
+13 -15
View File
@@ -6,16 +6,13 @@ networks:
driver: bridge
# volumes:
# grocy.vol:
secrets:
generic:
file: ./secrets.env
# secrets:
# generic:
# file: ./secrets.env
services:
gitea:
image: docker.gitea.com/gitea:latest
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:
- frontend
@@ -24,23 +21,24 @@ services:
- /etc/localtime:/etc/localtime:ro
ports:
- 3000:3000
- 2222:2222
- "2222:22"
opengist:
image: ghcr.io/thomiceli/opengist:latest
image: ghcr.io/thomiceli/opengist:1
container_name: opengist
restart: unless-stopped
ports:
- 6157:6157
- 2222:2223
- 2223:2222
volumes:
- ~/.storage/containers/opengist.vol:/opengist
- ~/.config/opengist/config.yml:/config.yml
# - ~/.config/opengist/config.yml:/config.yml
- /etc/localtime:/etc/localtime:ro
environment:
OG_LOG_LEVEL: warn
OG_SSH_PORT: 22
UID: $(id -u $USER)
GID: $(id -u $USER)
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