1
0
Fork 0

added gogs

This commit is contained in:
leo 2022-11-03 14:27:51 +01:00
parent 9b389ca98a
commit 2f23e6089c
2 changed files with 31 additions and 0 deletions

9
gogs/README.md Normal file
View file

@ -0,0 +1,9 @@
# Gogs Docker container
### requirements:
- installed linux system with docker-compose
- running in /services/gogs
Website:
https://gogs.io

22
gogs/docker-compose.yaml Normal file
View file

@ -0,0 +1,22 @@
version: "3"
networks:
gogs:
external: false
services:
server:
image: gogs/gogs:latest
container_name: gogs
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- gogs
volumes:
- /services/gogs/data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "8888:3000"