Convert some CRLF files
This commit is contained in:
parent
e5cc461f4a
commit
59a54534e7
@ -1,6 +1,6 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
MAINTAINER Disassembler <disassembler@dasm.cz>
|
MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install PHP runtime
|
# Install PHP runtime
|
||||||
apk --no-cache add nginx php7 php7-ctype php7-fpm php7-gd php7-json php7-mbstring php7-mcrypt php7-opcache php7-session
|
apk --no-cache add nginx php7 php7-ctype php7-fpm php7-gd php7-json php7-mbstring php7-mcrypt php7-opcache php7-session
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
MAINTAINER Disassembler <disassembler@dasm.cz>
|
MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install XML libs
|
# Install XML libs
|
||||||
apk --no-cache add libxml2 libxslt
|
apk --no-cache add libxml2 libxslt
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install Python2 runtime
|
# Install Python2 runtime
|
||||||
apk --no-cache add python2
|
apk --no-cache add python2
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
MAINTAINER Disassembler <disassembler@dasm.cz>
|
MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install XML libs
|
# Install XML libs
|
||||||
apk --no-cache add libxml2 libxslt
|
apk --no-cache add libxml2 libxslt
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install Python3 runtime
|
# Install Python3 runtime
|
||||||
apk --no-cache add python3 \
|
apk --no-cache add python3 \
|
||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.7
|
||||||
MAINTAINER Disassembler <disassembler@dasm.cz>
|
MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install S6 supervisor
|
# Install S6 supervisor
|
||||||
apk --no-cache add s6
|
apk --no-cache add s6
|
||||||
|
@ -1,134 +1,134 @@
|
|||||||
{
|
{
|
||||||
"apps":{
|
"apps":{
|
||||||
"ckan":{
|
"ckan":{
|
||||||
"host":"ckan",
|
"host":"ckan",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"crisiscleanup":{
|
"crisiscleanup":{
|
||||||
"host":"cc",
|
"host":"cc",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"cts":{
|
"cts":{
|
||||||
"host":"cts",
|
"host":"cts",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"frontlinesms":{
|
"frontlinesms":{
|
||||||
"host":"sms",
|
"host":"sms",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"gnuhealth":{
|
"gnuhealth":{
|
||||||
"host":"gh",
|
"host":"gh",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["gnuhealth-clients"],
|
"tiles":["gnuhealth-clients"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"kanboard":{
|
"kanboard":{
|
||||||
"host":"kb",
|
"host":"kb",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["kanboard-mobile"],
|
"tiles":["kanboard-mobile"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"mifosx":{
|
"mifosx":{
|
||||||
"host":"mifosx",
|
"host":"mifosx",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["mifosx-mobile"],
|
"tiles":["mifosx-mobile"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"motech":{
|
"motech":{
|
||||||
"host":"motech",
|
"host":"motech",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"opendatakit":{
|
"opendatakit":{
|
||||||
"host":"odk",
|
"host":"odk",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["opendatakit-clients"],
|
"tiles":["opendatakit-clients"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"opendatakit-build":{
|
"opendatakit-build":{
|
||||||
"host":"odkbuild",
|
"host":"odkbuild",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"openmapkit":{
|
"openmapkit":{
|
||||||
"host":"omk",
|
"host":"omk",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["geoodk-clients", "openmapkit-clients"],
|
"tiles":["geoodk-clients", "openmapkit-clients"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"pandora":{
|
"pandora":{
|
||||||
"host":"pandora",
|
"host":"pandora",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"sahana":{
|
"sahana":{
|
||||||
"host":"sahana",
|
"host":"sahana",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"sahana-demo":{
|
"sahana-demo":{
|
||||||
"host":"sahana-demo",
|
"host":"sahana-demo",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"sambro":{
|
"sambro":{
|
||||||
"host":"sambro",
|
"host":"sambro",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["sambro-mobile"],
|
"tiles":["sambro-mobile"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"seeddms":{
|
"seeddms":{
|
||||||
"host":"dms",
|
"host":"dms",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"sigmah":{
|
"sigmah":{
|
||||||
"host":"sigmah",
|
"host":"sigmah",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":[],
|
"tiles":[],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
},
|
},
|
||||||
"ushahidi":{
|
"ushahidi":{
|
||||||
"host":"ush",
|
"host":"ush",
|
||||||
"login":"N/A",
|
"login":"N/A",
|
||||||
"password":"N/A",
|
"password":"N/A",
|
||||||
"tiles":["ushahidi-mobile"],
|
"tiles":["ushahidi-mobile"],
|
||||||
"tiles-shown":false
|
"tiles-shown":false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"host":{
|
"host":{
|
||||||
"domain":"spotter.vm",
|
"domain":"spotter.vm",
|
||||||
"port": "443"
|
"port": "443"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
UPDATE `m_appuser` SET `username` = "${MIFOSX_ADMIN_USER}", `password` = "${MIFOSX_ADMIN_HASH}", `email` = "${MIFOSX_ADMIN_EMAIL}" WHERE `id` = 1;
|
UPDATE `m_appuser` SET `username` = "${MIFOSX_ADMIN_USER}", `password` = "${MIFOSX_ADMIN_HASH}", `email` = "${MIFOSX_ADMIN_EMAIL}" WHERE `id` = 1;
|
||||||
|
|
||||||
UPDATE `c_external_service_properties` SET `value` = "mifosx@spotter.ngo" WHERE `external_service_id` = 2 and `name` LIKE "username";
|
UPDATE `c_external_service_properties` SET `value` = "mifosx@spotter.ngo" WHERE `external_service_id` = 2 and `name` LIKE "username";
|
||||||
UPDATE `c_external_service_properties` SET `value` = "" WHERE `external_service_id` = 2 and `name` LIKE "password";
|
UPDATE `c_external_service_properties` SET `value` = "" WHERE `external_service_id` = 2 and `name` LIKE "password";
|
||||||
UPDATE `c_external_service_properties` SET `value` = "postfix" WHERE `external_service_id` = 2 and `name` LIKE "host";
|
UPDATE `c_external_service_properties` SET `value` = "postfix" WHERE `external_service_id` = 2 and `name` LIKE "host";
|
||||||
UPDATE `c_external_service_properties` SET `value` = "false" WHERE `external_service_id` = 2 and `name` LIKE "useTLS";
|
UPDATE `c_external_service_properties` SET `value` = "false" WHERE `external_service_id` = 2 and `name` LIKE "useTLS";
|
||||||
|
@ -1,42 +1,42 @@
|
|||||||
FROM java
|
FROM java
|
||||||
MAINTAINER Disassembler <disassembler@dasm.cz>
|
MAINTAINER Disassembler <disassembler@dasm.cz>
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install NodeJS runtime
|
# Install NodeJS runtime
|
||||||
apk --no-cache add nodejs paxctl \
|
apk --no-cache add nodejs paxctl \
|
||||||
# Fix grsec attributes to loosen memory protection restrictions
|
# Fix grsec attributes to loosen memory protection restrictions
|
||||||
&& paxctl -cm /usr/bin/node \
|
&& paxctl -cm /usr/bin/node \
|
||||||
# Cleanup
|
# Cleanup
|
||||||
&& apk --no-cache del paxctl
|
&& apk --no-cache del paxctl
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install runtime dependencies
|
# Install runtime dependencies
|
||||||
apk --no-cache add python2
|
apk --no-cache add python2
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
apk --no-cache add --virtual .deps build-base git py2-pip \
|
apk --no-cache add --virtual .deps build-base git py2-pip \
|
||||||
# Clone OpenMapKit
|
# Clone OpenMapKit
|
||||||
&& git clone --depth 1 https://github.com/posm/OpenMapKitServer /srv/openmapkit \
|
&& git clone --depth 1 https://github.com/posm/OpenMapKitServer /srv/openmapkit \
|
||||||
&& cd /srv/openmapkit \
|
&& cd /srv/openmapkit \
|
||||||
&& git submodule update --init \
|
&& git submodule update --init \
|
||||||
# Install OpenMapKit dependencies
|
# Install OpenMapKit dependencies
|
||||||
&& pip install -r requirements.txt \
|
&& pip install -r requirements.txt \
|
||||||
&& npm install libxmljs \
|
&& npm install libxmljs \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
# Create OS user
|
# Create OS user
|
||||||
&& addgroup -S -g 8007 omk \
|
&& addgroup -S -g 8007 omk \
|
||||||
&& adduser -S -u 8007 -h /srv/openmapkit -s /bin/false -g omk -G omk omk \
|
&& adduser -S -u 8007 -h /srv/openmapkit -s /bin/false -g omk -G omk omk \
|
||||||
&& chown -R omk:omk /srv/openmapkit \
|
&& chown -R omk:omk /srv/openmapkit \
|
||||||
# Cleanup
|
# Cleanup
|
||||||
&& apk --no-cache del .deps \
|
&& apk --no-cache del .deps \
|
||||||
&& find /srv/openmapkit -name '.git*' -exec rm -rf {} + \
|
&& find /srv/openmapkit -name '.git*' -exec rm -rf {} + \
|
||||||
&& rm -rf /usr/local/share/.cache \
|
&& rm -rf /usr/local/share/.cache \
|
||||||
&& rm -rf /root/.cache /root/.config /root/.node-gyp /root/.npm
|
&& rm -rf /root/.cache /root/.config /root/.node-gyp /root/.npm
|
||||||
|
|
||||||
COPY docker/ /
|
COPY docker/ /
|
||||||
|
|
||||||
VOLUME ["/srv/openmapkit/data"]
|
VOLUME ["/srv/openmapkit/data"]
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD ["s6-svscan", "/etc/services.d"]
|
CMD ["s6-svscan", "/etc/services.d"]
|
||||||
|
Loading…
Reference in New Issue
Block a user