mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/cqpserver.git
synced 2024-12-25 11:04:18 +00:00
Add cqpser.init in docker entrypoint
This commit is contained in:
parent
3411c66fb6
commit
36762efec4
@ -38,5 +38,5 @@ RUN echo "yes" | cpan HTML::Entities && \
|
||||
COPY foo.sh /usr/local/bin/
|
||||
|
||||
|
||||
ENTRYPOINT ["cqpserver"]
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
#CMD ["-h"]
|
||||
|
@ -2,7 +2,6 @@ version: '3'
|
||||
|
||||
services:
|
||||
cqpserver:
|
||||
command: ["-I", "/root/cqpserver.init"]
|
||||
image: pjentsch/cqpserver
|
||||
ports:
|
||||
- 4877:4877
|
||||
|
7
docker-entrypoint.sh
Executable file
7
docker-entrypoint.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
touch /root/cqpserver.init
|
||||
echo "host *;" >> /root/cqpserver.init
|
||||
echo "" >> /root/cqpserver.init
|
||||
echo 'user opaque "opaque";' >> /root/cqpserver.init
|
||||
cqpserver -I /root/cqpserver.init
|
Loading…
Reference in New Issue
Block a user