added gogs
This commit is contained in:
parent
9b389ca98a
commit
2f23e6089c
9
gogs/README.md
Normal file
9
gogs/README.md
Normal 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
22
gogs/docker-compose.yaml
Normal 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"
|
Loading…
Reference in a new issue