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
|
||||
|
||||
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
|
||||
{
|
||||
type = "file"
|
||||
name = "/etc/anope/include.conf"
|
||||
name = "include.conf"
|
||||
}
|
||||
|
||||
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:
|
||||
anope:
|
||||
restart: on-failure:3
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
@ -9,12 +9,9 @@ services:
|
||||
network_mode: "host"
|
||||
env_file: "config.env"
|
||||
volumes:
|
||||
- ./custom:/etc/anope/custom:ro
|
||||
- data:/var/lib/anope
|
||||
- ./custom:/etc/anope/custom:rw
|
||||
- ./include.conf:/etc/anope/include.conf:ro
|
||||
- log:/var/log/anope
|
||||
volumes:
|
||||
data:
|
||||
name: anope_data
|
||||
log:
|
||||
name: anope_log
|
||||
|
Loading…
Reference in New Issue
Block a user