Compare commits
10 Commits
745ffa80f2
...
e605db5021
| Author | SHA1 | Date | |
|---|---|---|---|
| e605db5021 | |||
| 47c92728d3 | |||
| a8717b7aed | |||
| cc9b9dfdad | |||
| f73917a0f3 | |||
| 78d2ae0ffa | |||
| 1d9755a1cd | |||
| b942675b78 | |||
| 24a1e24cb5 | |||
| 3220afa80a |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
secrets.env
|
||||
.env
|
||||
*.env
|
||||
|
||||
36
compose.yml
36
compose.yml
@@ -2,51 +2,43 @@
|
||||
networks:
|
||||
frontend:
|
||||
driver: bridge
|
||||
enable_ipv6: true
|
||||
enable_ipv4: true
|
||||
backend:
|
||||
driver: bridge
|
||||
enable_ipv6: true
|
||||
enable_ipv4: true
|
||||
# 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 git)
|
||||
- USER_GID=$(id -u git)
|
||||
restart: always
|
||||
networks:
|
||||
- frontend
|
||||
volumes:
|
||||
- ~/.storage/containers/gitea.vol:/data
|
||||
- /home/git/.ssh:/data/git/.ssh
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- 0.0.0.0:3000:3000
|
||||
- "[::]:3000:3000"
|
||||
- 127.0.0.1:2222:22
|
||||
- "[::1]:22:22"
|
||||
- 3000:3000
|
||||
- "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
|
||||
UID: $(id -u git)
|
||||
GID: $(id -u git)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user