config for Gitea
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# todo change data path
|
||||
# todo change user and group IDs
|
||||
|
||||
version: "3"
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /mnt/apple/gitea/data
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
|
||||
services:
|
||||
server:
|
||||
image: docker.gitea.com/gitea:nightly
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1002
|
||||
- USER_GID=1002
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
# ports:
|
||||
# - "3000:3000"
|
||||
# - "222:22"
|
||||
Reference in New Issue
Block a user