2022-11-18 12:59:51
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
# maclan config
|
||||||
|
docker network create -d macvlan \
|
||||||
|
--subnet=192.168.110.0/24 \
|
||||||
|
--gateway=192.169.110.1 \
|
||||||
|
-o parent=eth0 pub_net
|
||||||
|
# change eth0 to the ethernet iface you use
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
This Gitea docker server with its own ip adress
|
||||||
|
|
||||||
|
Gitea is a git server and is easy to use
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
pub_net:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: gitea/gitea:latest
|
||||||
|
container_name: gitea
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
pub_net:
|
||||||
|
ipv4_address: 192.168.110.65
|
||||||
|
volumes:
|
||||||
|
- ./gitea:/data
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
Reference in New Issue
Block a user