Time |
Nickname |
Message |
00:16
π
|
|
second has quit IRC (Quit: ZNC 1.6.5 - http://znc.in) |
00:23
π
|
|
second has joined #warrior |
01:56
π
|
|
Flashfire has quit IRC (Remote host closed the connection) |
01:56
π
|
|
kiska has quit IRC (Remote host closed the connection) |
01:57
π
|
|
Flashfire has joined #warrior |
01:57
π
|
|
kiska has joined #warrior |
03:22
π
|
|
ivan has quit IRC (Quit: Leaving) |
03:23
π
|
|
ivan has joined #warrior |
03:34
π
|
|
ivan_ has joined #warrior |
03:36
π
|
|
ivan has quit IRC (Ping timeout: 745 seconds) |
05:24
π
|
|
ivan_ is now known as ivan |
08:31
π
|
|
oshura has quit IRC (Read error: Connection reset by peer) |
10:24
π
|
|
Smiley has joined #warrior |
11:22
π
|
|
prq has quit IRC (Remote host closed the connection) |
12:08
π
|
|
mtntmnky has quit IRC (Remote host closed the connection) |
12:08
π
|
|
mtntmnky has joined #warrior |
12:58
π
|
|
prq has joined #warrior |
16:09
π
|
nyany |
Is there any way to pass variables like the nickname or the concurrency to the warrior when starting the docker image for the first time? |
16:11
π
|
atphoenix |
not that I know of, but I'm not a SME. I do know you have set both parameters in the warrior web UI. Concurrency max=6 in web ui |
16:12
π
|
nyany |
Ah, okay. |
16:12
π
|
atphoenix |
presumably you *could* write something that calls the webUI and sets those params there |
16:12
π
|
nyany |
I've got a working stackscript to deploy it on Linode, is why I'm asking |
16:14
π
|
atphoenix |
I've only used the Warrior Virtualbox VM version (which has docker inside), not the separate docker version. |
16:17
π
|
nyany |
heh, there IS |
16:18
π
|
nyany |
I'm going to give it a go! |
16:23
π
|
Kaz |
yes, you just set the vars when you run it |
16:25
π
|
nyany |
yeah, I've noticed |
16:37
π
|
|
atphoenix has quit IRC (Ping timeout: 276 seconds) |
16:38
π
|
|
DogsRNice has joined #warrior |
16:40
π
|
|
atphoenix has joined #warrior |
16:45
π
|
|
atphoenix has quit IRC (Client Quit) |
16:45
π
|
|
atphoenix has joined #warrior |
16:46
π
|
|
atphoenix has quit IRC (Read error: Connection reset by peer) |
16:46
π
|
|
atphoenix has joined #warrior |
16:48
π
|
prq |
nyanyβΈ the docker image does look at variables. one moment. |
16:48
π
|
nyany |
prq: yeah, I found the documentation, I'll play around with it in a bit |
16:49
π
|
prq |
https://github.com/ArchiveTeam/warrior-dockerfile#using-environment-variables |
16:49
π
|
nyany |
everything I need to know is... yeah |
16:49
π
|
nyany |
there |
16:49
π
|
prq |
for what it's worth, I found that CONCURRENT_ITEMS seems to be ignored and it uses the default 2. |
16:49
π
|
nyany |
ah |
16:49
π
|
nyany |
since you're here, could I bother you to have a quick look at this... |
16:50
π
|
prq |
sure |
16:50
π
|
nyany |
https://www.irccloud.com/pastebin/pWdpVf6g/ |
16:50
π
|
nyany |
This doesn't seem to work properly |
16:51
π
|
prq |
get rid of the extraneous -e arguments |
16:51
π
|
prq |
oh I must have had a typo last time I tried CONCURRENT_ITEMS |
16:53
π
|
nyany |
Do I leave the one at the top? |
16:54
π
|
nyany |
as per the documentation the first line has an extra -e |
16:54
π
|
prq |
where in the documentation are you looking? |
16:55
π
|
prq |
docker run --help has some info that's helpful here. --env and -e are aliases. if you specify --env/-e then the next thing needs to be a key/value. doing '--env FOO=bar -e --env BING=baz' doesn't make sense. |
16:56
π
|
prq |
'-e FOO=bar -e BING=baz' does and is equivalent to '--env FOO=bar --env BING-baz' but that extra -e in your pastebin is a typo (even if you copied it from somewhere) |
16:57
π
|
prq |
ah I found where the typo came from: https://hub.docker.com/r/archiveteam/warrior-dockerfile/ |
16:57
π
|
prq |
I don't know who has access to that Docker Hub account, but they'd need to log in and edit the doc that way. |
16:58
π
|
nyany |
so it's not necessary |
16:58
π
|
nyany |
perfect |
17:04
π
|
nyany |
neat, it works prq |
17:58
π
|
|
Wingy has quit IRC (The Lounge - https://thelounge.chat) |
18:01
π
|
|
Wingy has joined #warrior |
18:41
π
|
nyany |
I'm going to touch up the script but it seems stupid easy. I'll publish it to the community stackscripts so everyone else can run the warrior easily on Linode |
18:52
π
|
|
Wingy has quit IRC (The Lounge - https://thelounge.chat) |
18:53
π
|
|
Wingy has joined #warrior |
20:57
π
|
|
mtntmnky has quit IRC (Read error: Operation timed out) |
21:21
π
|
|
Atom has quit IRC (Read error: Operation timed out) |
22:23
π
|
|
Atom has joined #warrior |
22:35
π
|
|
Atom has quit IRC (Ping timeout: 276 seconds) |
22:40
π
|
|
Atom has joined #warrior |
22:44
π
|
|
Decobus has quit IRC (https://quassel-irc.org - Chat comfortably. Anywhere.) |
23:29
π
|
|
Decobus has joined #warrior |