File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version : ' 3.8'
2-
31# Example docker-compose for running Chrontainer from GHCR on a macvlan network with a static IP.
42# Adjust the network settings below to match your local network configuration.
53
6- services :
7- chrontainer :
8- image : ghcr.io/rsousa88/chrontainer:latest
9- container_name : chrontainer
10- restart : unless-stopped
11- volumes :
12- - /var/run/docker.sock:/var/run/docker.sock:ro
13- - ./data:/data
14- environment :
15- - SECRET_KEY=your-secret-key-here
16- networks :
17- macvlan_net :
18- ipv4_address : 192.168.1.100
19-
204networks :
215 macvlan_net :
226 driver : macvlan
@@ -26,3 +10,20 @@ networks:
2610 config :
2711 - subnet : 192.168.1.0/24
2812 gateway : 192.168.1.1
13+
14+ services :
15+ chrontainer :
16+ hostname : chrontainer
17+ container_name : chrontainer
18+ image : ghcr.io/rsousa88/chrontainer:latest
19+ networks :
20+ macvlan_net :
21+ ipv4_address : 192.168.1.100
22+ volumes :
23+ - /var/run/docker.sock:/var/run/docker.sock:ro
24+ - ./data:/data
25+ environment :
26+ - SECRET_KEY=your-secret-key-here
27+ restart : unless-stopped
28+ labels :
29+ - chrontainer.tags=proxy,security,docker-socket
You can’t perform that action at this time.
0 commit comments