some fixes to get services working correctly
This commit is contained in:
parent
88b1a6b904
commit
aacaf2e743
@ -53,4 +53,4 @@ VOLUME /var/log/anope
|
|||||||
|
|
||||||
USER anope
|
USER anope
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/anope", "--nofork", "--config=/etc/anope/anope.conf", "--dbdir=/var/lib/anope", "--logdir=/var/log/anope", "--moduledir=/usr/local/modules"]
|
ENTRYPOINT ["/usr/local/bin/anope", "--nofork", "--confdir=/etc/anope/", "--dbdir=/etc/anope/custom/", "--logdir=/var/log/anope/", "--moduledir=/usr/local/modules/"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
include
|
include
|
||||||
{
|
{
|
||||||
type = "file"
|
type = "file"
|
||||||
name = "/etc/anope/include.conf"
|
name = "include.conf"
|
||||||
}
|
}
|
||||||
|
|
||||||
module { name = "inspircd" }
|
module { name = "inspircd" }
|
||||||
|
9
custom/.gitignore
vendored
9
custom/.gitignore
vendored
@ -1,8 +1 @@
|
|||||||
motd.txt
|
*
|
||||||
oper.motd.txt
|
|
||||||
include.conf
|
|
||||||
*.crt
|
|
||||||
*.key
|
|
||||||
*.pem
|
|
||||||
!ca.crt
|
|
||||||
!crl.pem
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
anope:
|
anope:
|
||||||
restart: on-failure:3
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
@ -9,12 +9,9 @@ services:
|
|||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
env_file: "config.env"
|
env_file: "config.env"
|
||||||
volumes:
|
volumes:
|
||||||
- ./custom:/etc/anope/custom:ro
|
- ./custom:/etc/anope/custom:rw
|
||||||
- data:/var/lib/anope
|
|
||||||
- ./include.conf:/etc/anope/include.conf:ro
|
- ./include.conf:/etc/anope/include.conf:ro
|
||||||
- log:/var/log/anope
|
- log:/var/log/anope
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
|
||||||
name: anope_data
|
|
||||||
log:
|
log:
|
||||||
name: anope_log
|
name: anope_log
|
||||||
|
Loading…
Reference in New Issue
Block a user