├── LICENCE
├── README.md
├── arm_32
├── before_build_docker_run_multiarch_arm
├── Dockerfile
└── files
│ ├── apache.conf
│ ├── apache2.conf
│ ├── apache_https.conf
│ ├── fcgid.conf
│ ├── index.html
│ ├── jauth.db
│ ├── lizmapConfig.ini.php
│ ├── localconfig.ini.php
│ ├── mod_deflate.conf
│ ├── php.conf
│ ├── qgis
│ ├── helloWorld.qgs
│ ├── helloWorld.qgs.cfg
│ ├── helloWorld.qgs.png
│ ├── test.qgs
│ ├── test.qgs.cfg
│ └── test.qgs.png
│ ├── setup.sh
│ └── start.sh
├── docker-compose.yml
├── files
├── apache.conf
├── apache2.conf
├── apache_https.conf
├── fcgid.conf
├── index.html
├── jauth.db
├── lizmapConfig.ini.php
├── localconfig.ini.php
├── mod_deflate.conf
├── php.conf
├── qgis
│ ├── helloWorld.qgs
│ ├── helloWorld.qgs.cfg
│ ├── helloWorld.qgs.png
│ ├── test.qgs
│ ├── test.qgs.cfg
│ └── test.qgs.png
├── setup.sh
└── start.sh
└── nginx.conf
/LICENCE:
--------------------------------------------------------------------------------
1 | GNU AFFERO GENERAL PUBLIC LICENSE
2 | Version 3, 19 November 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU Affero General Public License is a free, copyleft license for
11 | software and other kinds of works, specifically designed to ensure
12 | cooperation with the community in the case of network server software.
13 |
14 | The licenses for most software and other practical works are designed
15 | to take away your freedom to share and change the works. By contrast,
16 | our General Public Licenses are intended to guarantee your freedom to
17 | share and change all versions of a program--to make sure it remains free
18 | software for all its users.
19 |
20 | When we speak of free software, we are referring to freedom, not
21 | price. Our General Public Licenses are designed to make sure that you
22 | have the freedom to distribute copies of free software (and charge for
23 | them if you wish), that you receive source code or can get it if you
24 | want it, that you can change the software or use pieces of it in new
25 | free programs, and that you know you can do these things.
26 |
27 | Developers that use our General Public Licenses protect your rights
28 | with two steps: (1) assert copyright on the software, and (2) offer
29 | you this License which gives you legal permission to copy, distribute
30 | and/or modify the software.
31 |
32 | A secondary benefit of defending all users' freedom is that
33 | improvements made in alternate versions of the program, if they
34 | receive widespread use, become available for other developers to
35 | incorporate. Many developers of free software are heartened and
36 | encouraged by the resulting cooperation. However, in the case of
37 | software used on network servers, this result may fail to come about.
38 | The GNU General Public License permits making a modified version and
39 | letting the public access it on a server without ever releasing its
40 | source code to the public.
41 |
42 | The GNU Affero General Public License is designed specifically to
43 | ensure that, in such cases, the modified source code becomes available
44 | to the community. It requires the operator of a network server to
45 | provide the source code of the modified version running there to the
46 | users of that server. Therefore, public use of a modified version, on
47 | a publicly accessible server, gives the public access to the source
48 | code of the modified version.
49 |
50 | An older license, called the Affero General Public License and
51 | published by Affero, was designed to accomplish similar goals. This is
52 | a different license, not a version of the Affero GPL, but Affero has
53 | released a new version of the Affero GPL which permits relicensing under
54 | this license.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | TERMS AND CONDITIONS
60 |
61 | 0. Definitions.
62 |
63 | "This License" refers to version 3 of the GNU Affero General Public License.
64 |
65 | "Copyright" also means copyright-like laws that apply to other kinds of
66 | works, such as semiconductor masks.
67 |
68 | "The Program" refers to any copyrightable work licensed under this
69 | License. Each licensee is addressed as "you". "Licensees" and
70 | "recipients" may be individuals or organizations.
71 |
72 | To "modify" a work means to copy from or adapt all or part of the work
73 | in a fashion requiring copyright permission, other than the making of an
74 | exact copy. The resulting work is called a "modified version" of the
75 | earlier work or a work "based on" the earlier work.
76 |
77 | A "covered work" means either the unmodified Program or a work based
78 | on the Program.
79 |
80 | To "propagate" a work means to do anything with it that, without
81 | permission, would make you directly or secondarily liable for
82 | infringement under applicable copyright law, except executing it on a
83 | computer or modifying a private copy. Propagation includes copying,
84 | distribution (with or without modification), making available to the
85 | public, and in some countries other activities as well.
86 |
87 | To "convey" a work means any kind of propagation that enables other
88 | parties to make or receive copies. Mere interaction with a user through
89 | a computer network, with no transfer of a copy, is not conveying.
90 |
91 | An interactive user interface displays "Appropriate Legal Notices"
92 | to the extent that it includes a convenient and prominently visible
93 | feature that (1) displays an appropriate copyright notice, and (2)
94 | tells the user that there is no warranty for the work (except to the
95 | extent that warranties are provided), that licensees may convey the
96 | work under this License, and how to view a copy of this License. If
97 | the interface presents a list of user commands or options, such as a
98 | menu, a prominent item in the list meets this criterion.
99 |
100 | 1. Source Code.
101 |
102 | The "source code" for a work means the preferred form of the work
103 | for making modifications to it. "Object code" means any non-source
104 | form of a work.
105 |
106 | A "Standard Interface" means an interface that either is an official
107 | standard defined by a recognized standards body, or, in the case of
108 | interfaces specified for a particular programming language, one that
109 | is widely used among developers working in that language.
110 |
111 | The "System Libraries" of an executable work include anything, other
112 | than the work as a whole, that (a) is included in the normal form of
113 | packaging a Major Component, but which is not part of that Major
114 | Component, and (b) serves only to enable use of the work with that
115 | Major Component, or to implement a Standard Interface for which an
116 | implementation is available to the public in source code form. A
117 | "Major Component", in this context, means a major essential component
118 | (kernel, window system, and so on) of the specific operating system
119 | (if any) on which the executable work runs, or a compiler used to
120 | produce the work, or an object code interpreter used to run it.
121 |
122 | The "Corresponding Source" for a work in object code form means all
123 | the source code needed to generate, install, and (for an executable
124 | work) run the object code and to modify the work, including scripts to
125 | control those activities. However, it does not include the work's
126 | System Libraries, or general-purpose tools or generally available free
127 | programs which are used unmodified in performing those activities but
128 | which are not part of the work. For example, Corresponding Source
129 | includes interface definition files associated with source files for
130 | the work, and the source code for shared libraries and dynamically
131 | linked subprograms that the work is specifically designed to require,
132 | such as by intimate data communication or control flow between those
133 | subprograms and other parts of the work.
134 |
135 | The Corresponding Source need not include anything that users
136 | can regenerate automatically from other parts of the Corresponding
137 | Source.
138 |
139 | The Corresponding Source for a work in source code form is that
140 | same work.
141 |
142 | 2. Basic Permissions.
143 |
144 | All rights granted under this License are granted for the term of
145 | copyright on the Program, and are irrevocable provided the stated
146 | conditions are met. This License explicitly affirms your unlimited
147 | permission to run the unmodified Program. The output from running a
148 | covered work is covered by this License only if the output, given its
149 | content, constitutes a covered work. This License acknowledges your
150 | rights of fair use or other equivalent, as provided by copyright law.
151 |
152 | You may make, run and propagate covered works that you do not
153 | convey, without conditions so long as your license otherwise remains
154 | in force. You may convey covered works to others for the sole purpose
155 | of having them make modifications exclusively for you, or provide you
156 | with facilities for running those works, provided that you comply with
157 | the terms of this License in conveying all material for which you do
158 | not control copyright. Those thus making or running the covered works
159 | for you must do so exclusively on your behalf, under your direction
160 | and control, on terms that prohibit them from making any copies of
161 | your copyrighted material outside their relationship with you.
162 |
163 | Conveying under any other circumstances is permitted solely under
164 | the conditions stated below. Sublicensing is not allowed; section 10
165 | makes it unnecessary.
166 |
167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
168 |
169 | No covered work shall be deemed part of an effective technological
170 | measure under any applicable law fulfilling obligations under article
171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
172 | similar laws prohibiting or restricting circumvention of such
173 | measures.
174 |
175 | When you convey a covered work, you waive any legal power to forbid
176 | circumvention of technological measures to the extent such circumvention
177 | is effected by exercising rights under this License with respect to
178 | the covered work, and you disclaim any intention to limit operation or
179 | modification of the work as a means of enforcing, against the work's
180 | users, your or third parties' legal rights to forbid circumvention of
181 | technological measures.
182 |
183 | 4. Conveying Verbatim Copies.
184 |
185 | You may convey verbatim copies of the Program's source code as you
186 | receive it, in any medium, provided that you conspicuously and
187 | appropriately publish on each copy an appropriate copyright notice;
188 | keep intact all notices stating that this License and any
189 | non-permissive terms added in accord with section 7 apply to the code;
190 | keep intact all notices of the absence of any warranty; and give all
191 | recipients a copy of this License along with the Program.
192 |
193 | You may charge any price or no price for each copy that you convey,
194 | and you may offer support or warranty protection for a fee.
195 |
196 | 5. Conveying Modified Source Versions.
197 |
198 | You may convey a work based on the Program, or the modifications to
199 | produce it from the Program, in the form of source code under the
200 | terms of section 4, provided that you also meet all of these conditions:
201 |
202 | a) The work must carry prominent notices stating that you modified
203 | it, and giving a relevant date.
204 |
205 | b) The work must carry prominent notices stating that it is
206 | released under this License and any conditions added under section
207 | 7. This requirement modifies the requirement in section 4 to
208 | "keep intact all notices".
209 |
210 | c) You must license the entire work, as a whole, under this
211 | License to anyone who comes into possession of a copy. This
212 | License will therefore apply, along with any applicable section 7
213 | additional terms, to the whole of the work, and all its parts,
214 | regardless of how they are packaged. This License gives no
215 | permission to license the work in any other way, but it does not
216 | invalidate such permission if you have separately received it.
217 |
218 | d) If the work has interactive user interfaces, each must display
219 | Appropriate Legal Notices; however, if the Program has interactive
220 | interfaces that do not display Appropriate Legal Notices, your
221 | work need not make them do so.
222 |
223 | A compilation of a covered work with other separate and independent
224 | works, which are not by their nature extensions of the covered work,
225 | and which are not combined with it such as to form a larger program,
226 | in or on a volume of a storage or distribution medium, is called an
227 | "aggregate" if the compilation and its resulting copyright are not
228 | used to limit the access or legal rights of the compilation's users
229 | beyond what the individual works permit. Inclusion of a covered work
230 | in an aggregate does not cause this License to apply to the other
231 | parts of the aggregate.
232 |
233 | 6. Conveying Non-Source Forms.
234 |
235 | You may convey a covered work in object code form under the terms
236 | of sections 4 and 5, provided that you also convey the
237 | machine-readable Corresponding Source under the terms of this License,
238 | in one of these ways:
239 |
240 | a) Convey the object code in, or embodied in, a physical product
241 | (including a physical distribution medium), accompanied by the
242 | Corresponding Source fixed on a durable physical medium
243 | customarily used for software interchange.
244 |
245 | b) Convey the object code in, or embodied in, a physical product
246 | (including a physical distribution medium), accompanied by a
247 | written offer, valid for at least three years and valid for as
248 | long as you offer spare parts or customer support for that product
249 | model, to give anyone who possesses the object code either (1) a
250 | copy of the Corresponding Source for all the software in the
251 | product that is covered by this License, on a durable physical
252 | medium customarily used for software interchange, for a price no
253 | more than your reasonable cost of physically performing this
254 | conveying of source, or (2) access to copy the
255 | Corresponding Source from a network server at no charge.
256 |
257 | c) Convey individual copies of the object code with a copy of the
258 | written offer to provide the Corresponding Source. This
259 | alternative is allowed only occasionally and noncommercially, and
260 | only if you received the object code with such an offer, in accord
261 | with subsection 6b.
262 |
263 | d) Convey the object code by offering access from a designated
264 | place (gratis or for a charge), and offer equivalent access to the
265 | Corresponding Source in the same way through the same place at no
266 | further charge. You need not require recipients to copy the
267 | Corresponding Source along with the object code. If the place to
268 | copy the object code is a network server, the Corresponding Source
269 | may be on a different server (operated by you or a third party)
270 | that supports equivalent copying facilities, provided you maintain
271 | clear directions next to the object code saying where to find the
272 | Corresponding Source. Regardless of what server hosts the
273 | Corresponding Source, you remain obligated to ensure that it is
274 | available for as long as needed to satisfy these requirements.
275 |
276 | e) Convey the object code using peer-to-peer transmission, provided
277 | you inform other peers where the object code and Corresponding
278 | Source of the work are being offered to the general public at no
279 | charge under subsection 6d.
280 |
281 | A separable portion of the object code, whose source code is excluded
282 | from the Corresponding Source as a System Library, need not be
283 | included in conveying the object code work.
284 |
285 | A "User Product" is either (1) a "consumer product", which means any
286 | tangible personal property which is normally used for personal, family,
287 | or household purposes, or (2) anything designed or sold for incorporation
288 | into a dwelling. In determining whether a product is a consumer product,
289 | doubtful cases shall be resolved in favor of coverage. For a particular
290 | product received by a particular user, "normally used" refers to a
291 | typical or common use of that class of product, regardless of the status
292 | of the particular user or of the way in which the particular user
293 | actually uses, or expects or is expected to use, the product. A product
294 | is a consumer product regardless of whether the product has substantial
295 | commercial, industrial or non-consumer uses, unless such uses represent
296 | the only significant mode of use of the product.
297 |
298 | "Installation Information" for a User Product means any methods,
299 | procedures, authorization keys, or other information required to install
300 | and execute modified versions of a covered work in that User Product from
301 | a modified version of its Corresponding Source. The information must
302 | suffice to ensure that the continued functioning of the modified object
303 | code is in no case prevented or interfered with solely because
304 | modification has been made.
305 |
306 | If you convey an object code work under this section in, or with, or
307 | specifically for use in, a User Product, and the conveying occurs as
308 | part of a transaction in which the right of possession and use of the
309 | User Product is transferred to the recipient in perpetuity or for a
310 | fixed term (regardless of how the transaction is characterized), the
311 | Corresponding Source conveyed under this section must be accompanied
312 | by the Installation Information. But this requirement does not apply
313 | if neither you nor any third party retains the ability to install
314 | modified object code on the User Product (for example, the work has
315 | been installed in ROM).
316 |
317 | The requirement to provide Installation Information does not include a
318 | requirement to continue to provide support service, warranty, or updates
319 | for a work that has been modified or installed by the recipient, or for
320 | the User Product in which it has been modified or installed. Access to a
321 | network may be denied when the modification itself materially and
322 | adversely affects the operation of the network or violates the rules and
323 | protocols for communication across the network.
324 |
325 | Corresponding Source conveyed, and Installation Information provided,
326 | in accord with this section must be in a format that is publicly
327 | documented (and with an implementation available to the public in
328 | source code form), and must require no special password or key for
329 | unpacking, reading or copying.
330 |
331 | 7. Additional Terms.
332 |
333 | "Additional permissions" are terms that supplement the terms of this
334 | License by making exceptions from one or more of its conditions.
335 | Additional permissions that are applicable to the entire Program shall
336 | be treated as though they were included in this License, to the extent
337 | that they are valid under applicable law. If additional permissions
338 | apply only to part of the Program, that part may be used separately
339 | under those permissions, but the entire Program remains governed by
340 | this License without regard to the additional permissions.
341 |
342 | When you convey a copy of a covered work, you may at your option
343 | remove any additional permissions from that copy, or from any part of
344 | it. (Additional permissions may be written to require their own
345 | removal in certain cases when you modify the work.) You may place
346 | additional permissions on material, added by you to a covered work,
347 | for which you have or can give appropriate copyright permission.
348 |
349 | Notwithstanding any other provision of this License, for material you
350 | add to a covered work, you may (if authorized by the copyright holders of
351 | that material) supplement the terms of this License with terms:
352 |
353 | a) Disclaiming warranty or limiting liability differently from the
354 | terms of sections 15 and 16 of this License; or
355 |
356 | b) Requiring preservation of specified reasonable legal notices or
357 | author attributions in that material or in the Appropriate Legal
358 | Notices displayed by works containing it; or
359 |
360 | c) Prohibiting misrepresentation of the origin of that material, or
361 | requiring that modified versions of such material be marked in
362 | reasonable ways as different from the original version; or
363 |
364 | d) Limiting the use for publicity purposes of names of licensors or
365 | authors of the material; or
366 |
367 | e) Declining to grant rights under trademark law for use of some
368 | trade names, trademarks, or service marks; or
369 |
370 | f) Requiring indemnification of licensors and authors of that
371 | material by anyone who conveys the material (or modified versions of
372 | it) with contractual assumptions of liability to the recipient, for
373 | any liability that these contractual assumptions directly impose on
374 | those licensors and authors.
375 |
376 | All other non-permissive additional terms are considered "further
377 | restrictions" within the meaning of section 10. If the Program as you
378 | received it, or any part of it, contains a notice stating that it is
379 | governed by this License along with a term that is a further
380 | restriction, you may remove that term. If a license document contains
381 | a further restriction but permits relicensing or conveying under this
382 | License, you may add to a covered work material governed by the terms
383 | of that license document, provided that the further restriction does
384 | not survive such relicensing or conveying.
385 |
386 | If you add terms to a covered work in accord with this section, you
387 | must place, in the relevant source files, a statement of the
388 | additional terms that apply to those files, or a notice indicating
389 | where to find the applicable terms.
390 |
391 | Additional terms, permissive or non-permissive, may be stated in the
392 | form of a separately written license, or stated as exceptions;
393 | the above requirements apply either way.
394 |
395 | 8. Termination.
396 |
397 | You may not propagate or modify a covered work except as expressly
398 | provided under this License. Any attempt otherwise to propagate or
399 | modify it is void, and will automatically terminate your rights under
400 | this License (including any patent licenses granted under the third
401 | paragraph of section 11).
402 |
403 | However, if you cease all violation of this License, then your
404 | license from a particular copyright holder is reinstated (a)
405 | provisionally, unless and until the copyright holder explicitly and
406 | finally terminates your license, and (b) permanently, if the copyright
407 | holder fails to notify you of the violation by some reasonable means
408 | prior to 60 days after the cessation.
409 |
410 | Moreover, your license from a particular copyright holder is
411 | reinstated permanently if the copyright holder notifies you of the
412 | violation by some reasonable means, this is the first time you have
413 | received notice of violation of this License (for any work) from that
414 | copyright holder, and you cure the violation prior to 30 days after
415 | your receipt of the notice.
416 |
417 | Termination of your rights under this section does not terminate the
418 | licenses of parties who have received copies or rights from you under
419 | this License. If your rights have been terminated and not permanently
420 | reinstated, you do not qualify to receive new licenses for the same
421 | material under section 10.
422 |
423 | 9. Acceptance Not Required for Having Copies.
424 |
425 | You are not required to accept this License in order to receive or
426 | run a copy of the Program. Ancillary propagation of a covered work
427 | occurring solely as a consequence of using peer-to-peer transmission
428 | to receive a copy likewise does not require acceptance. However,
429 | nothing other than this License grants you permission to propagate or
430 | modify any covered work. These actions infringe copyright if you do
431 | not accept this License. Therefore, by modifying or propagating a
432 | covered work, you indicate your acceptance of this License to do so.
433 |
434 | 10. Automatic Licensing of Downstream Recipients.
435 |
436 | Each time you convey a covered work, the recipient automatically
437 | receives a license from the original licensors, to run, modify and
438 | propagate that work, subject to this License. You are not responsible
439 | for enforcing compliance by third parties with this License.
440 |
441 | An "entity transaction" is a transaction transferring control of an
442 | organization, or substantially all assets of one, or subdividing an
443 | organization, or merging organizations. If propagation of a covered
444 | work results from an entity transaction, each party to that
445 | transaction who receives a copy of the work also receives whatever
446 | licenses to the work the party's predecessor in interest had or could
447 | give under the previous paragraph, plus a right to possession of the
448 | Corresponding Source of the work from the predecessor in interest, if
449 | the predecessor has it or can get it with reasonable efforts.
450 |
451 | You may not impose any further restrictions on the exercise of the
452 | rights granted or affirmed under this License. For example, you may
453 | not impose a license fee, royalty, or other charge for exercise of
454 | rights granted under this License, and you may not initiate litigation
455 | (including a cross-claim or counterclaim in a lawsuit) alleging that
456 | any patent claim is infringed by making, using, selling, offering for
457 | sale, or importing the Program or any portion of it.
458 |
459 | 11. Patents.
460 |
461 | A "contributor" is a copyright holder who authorizes use under this
462 | License of the Program or a work on which the Program is based. The
463 | work thus licensed is called the contributor's "contributor version".
464 |
465 | A contributor's "essential patent claims" are all patent claims
466 | owned or controlled by the contributor, whether already acquired or
467 | hereafter acquired, that would be infringed by some manner, permitted
468 | by this License, of making, using, or selling its contributor version,
469 | but do not include claims that would be infringed only as a
470 | consequence of further modification of the contributor version. For
471 | purposes of this definition, "control" includes the right to grant
472 | patent sublicenses in a manner consistent with the requirements of
473 | this License.
474 |
475 | Each contributor grants you a non-exclusive, worldwide, royalty-free
476 | patent license under the contributor's essential patent claims, to
477 | make, use, sell, offer for sale, import and otherwise run, modify and
478 | propagate the contents of its contributor version.
479 |
480 | In the following three paragraphs, a "patent license" is any express
481 | agreement or commitment, however denominated, not to enforce a patent
482 | (such as an express permission to practice a patent or covenant not to
483 | sue for patent infringement). To "grant" such a patent license to a
484 | party means to make such an agreement or commitment not to enforce a
485 | patent against the party.
486 |
487 | If you convey a covered work, knowingly relying on a patent license,
488 | and the Corresponding Source of the work is not available for anyone
489 | to copy, free of charge and under the terms of this License, through a
490 | publicly available network server or other readily accessible means,
491 | then you must either (1) cause the Corresponding Source to be so
492 | available, or (2) arrange to deprive yourself of the benefit of the
493 | patent license for this particular work, or (3) arrange, in a manner
494 | consistent with the requirements of this License, to extend the patent
495 | license to downstream recipients. "Knowingly relying" means you have
496 | actual knowledge that, but for the patent license, your conveying the
497 | covered work in a country, or your recipient's use of the covered work
498 | in a country, would infringe one or more identifiable patents in that
499 | country that you have reason to believe are valid.
500 |
501 | If, pursuant to or in connection with a single transaction or
502 | arrangement, you convey, or propagate by procuring conveyance of, a
503 | covered work, and grant a patent license to some of the parties
504 | receiving the covered work authorizing them to use, propagate, modify
505 | or convey a specific copy of the covered work, then the patent license
506 | you grant is automatically extended to all recipients of the covered
507 | work and works based on it.
508 |
509 | A patent license is "discriminatory" if it does not include within
510 | the scope of its coverage, prohibits the exercise of, or is
511 | conditioned on the non-exercise of one or more of the rights that are
512 | specifically granted under this License. You may not convey a covered
513 | work if you are a party to an arrangement with a third party that is
514 | in the business of distributing software, under which you make payment
515 | to the third party based on the extent of your activity of conveying
516 | the work, and under which the third party grants, to any of the
517 | parties who would receive the covered work from you, a discriminatory
518 | patent license (a) in connection with copies of the covered work
519 | conveyed by you (or copies made from those copies), or (b) primarily
520 | for and in connection with specific products or compilations that
521 | contain the covered work, unless you entered into that arrangement,
522 | or that patent license was granted, prior to 28 March 2007.
523 |
524 | Nothing in this License shall be construed as excluding or limiting
525 | any implied license or other defenses to infringement that may
526 | otherwise be available to you under applicable patent law.
527 |
528 | 12. No Surrender of Others' Freedom.
529 |
530 | If conditions are imposed on you (whether by court order, agreement or
531 | otherwise) that contradict the conditions of this License, they do not
532 | excuse you from the conditions of this License. If you cannot convey a
533 | covered work so as to satisfy simultaneously your obligations under this
534 | License and any other pertinent obligations, then as a consequence you may
535 | not convey it at all. For example, if you agree to terms that obligate you
536 | to collect a royalty for further conveying from those to whom you convey
537 | the Program, the only way you could satisfy both those terms and this
538 | License would be to refrain entirely from conveying the Program.
539 |
540 | 13. Remote Network Interaction; Use with the GNU General Public License.
541 |
542 | Notwithstanding any other provision of this License, if you modify the
543 | Program, your modified version must prominently offer all users
544 | interacting with it remotely through a computer network (if your version
545 | supports such interaction) an opportunity to receive the Corresponding
546 | Source of your version by providing access to the Corresponding Source
547 | from a network server at no charge, through some standard or customary
548 | means of facilitating copying of software. This Corresponding Source
549 | shall include the Corresponding Source for any work covered by version 3
550 | of the GNU General Public License that is incorporated pursuant to the
551 | following paragraph.
552 |
553 | Notwithstanding any other provision of this License, you have
554 | permission to link or combine any covered work with a work licensed
555 | under version 3 of the GNU General Public License into a single
556 | combined work, and to convey the resulting work. The terms of this
557 | License will continue to apply to the part which is the covered work,
558 | but the work with which it is combined will remain governed by version
559 | 3 of the GNU General Public License.
560 |
561 | 14. Revised Versions of this License.
562 |
563 | The Free Software Foundation may publish revised and/or new versions of
564 | the GNU Affero General Public License from time to time. Such new versions
565 | will be similar in spirit to the present version, but may differ in detail to
566 | address new problems or concerns.
567 |
568 | Each version is given a distinguishing version number. If the
569 | Program specifies that a certain numbered version of the GNU Affero General
570 | Public License "or any later version" applies to it, you have the
571 | option of following the terms and conditions either of that numbered
572 | version or of any later version published by the Free Software
573 | Foundation. If the Program does not specify a version number of the
574 | GNU Affero General Public License, you may choose any version ever published
575 | by the Free Software Foundation.
576 |
577 | If the Program specifies that a proxy can decide which future
578 | versions of the GNU Affero General Public License can be used, that proxy's
579 | public statement of acceptance of a version permanently authorizes you
580 | to choose that version for the Program.
581 |
582 | Later license versions may give you additional or different
583 | permissions. However, no additional obligations are imposed on any
584 | author or copyright holder as a result of your choosing to follow a
585 | later version.
586 |
587 | 15. Disclaimer of Warranty.
588 |
589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
597 |
598 | 16. Limitation of Liability.
599 |
600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
608 | SUCH DAMAGES.
609 |
610 | 17. Interpretation of Sections 15 and 16.
611 |
612 | If the disclaimer of warranty and limitation of liability provided
613 | above cannot be given local legal effect according to their terms,
614 | reviewing courts shall apply local law that most closely approximates
615 | an absolute waiver of all civil liability in connection with the
616 | Program, unless a warranty or assumption of liability accompanies a
617 | copy of the Program in return for a fee.
618 |
619 | END OF TERMS AND CONDITIONS
620 |
621 | How to Apply These Terms to Your New Programs
622 |
623 | If you develop a new program, and you want it to be of the greatest
624 | possible use to the public, the best way to achieve this is to make it
625 | free software which everyone can redistribute and change under these terms.
626 |
627 | To do so, attach the following notices to the program. It is safest
628 | to attach them to the start of each source file to most effectively
629 | state the exclusion of warranty; and each file should have at least
630 | the "copyright" line and a pointer to where the full notice is found.
631 |
632 |
633 | Copyright (C)
634 |
635 | This program is free software: you can redistribute it and/or modify
636 | it under the terms of the GNU Affero General Public License as published
637 | by the Free Software Foundation, either version 3 of the License, or
638 | (at your option) any later version.
639 |
640 | This program is distributed in the hope that it will be useful,
641 | but WITHOUT ANY WARRANTY; without even the implied warranty of
642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
643 | GNU Affero General Public License for more details.
644 |
645 | You should have received a copy of the GNU Affero General Public License
646 | along with this program. If not, see .
647 |
648 | Also add information on how to contact you by electronic and paper mail.
649 |
650 | If your software can interact with users remotely through a computer
651 | network, you should also make sure that it provides a way for users to
652 | get its source. For example, if your program is a web application, its
653 | interface could display a "Source" link that leads users to an archive
654 | of the code. There are many ways you could offer source, and different
655 | solutions will be better for different programs; see section 13 for the
656 | specific requirements.
657 |
658 | You should also get your employer (if you work as a programmer) or school,
659 | if any, to sign a "copyright disclaimer" for the program, if necessary.
660 | For more information on this, and how to apply and follow the GNU AGPL, see
661 | .
662 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](http://play-with-docker.com?stack=https://raw.githubusercontent.com/jancelin/docker-lizmap/nightly/docker-compose.yml)
2 |
3 | docker-lizmap
4 | =============
5 | __________________________________________________________________
6 |
7 | LizMap est une solution complète de publication de cartes QGIS sur Internet.
8 |
9 | LizMap is a complete Internet QGIS map publishing.
10 |
11 | ____________________________________________________________________
12 |
13 | With Docker-compose:
14 |
15 | * Copy [nginx.conf](https://raw.githubusercontent.com/jancelin/docker-lizmap/3.2.3/nginx.conf) to ./lizmap/nginx/nginx.conf
16 |
17 | * download docker-compose.yml:
18 |
19 | https://github.com/jancelin/docker-lizmap/blob/3.3.0/docker-compose.yml
20 |
21 | * UP
22 |
23 | ```
24 | docker-compose up
25 | ```
26 |
27 | * ENJOY
28 |
29 | -------------------------------
30 |
31 | Lizmap Web Application generates dynamically a web map application (php/html/css/js) with the help of Qgis Server ( QGIS Server Tutorial ). You can configure one web map per Qgis project with the QGIS LizMap Plugin.
32 |
33 | http://docs.3liz.com/
34 |
35 | http://www.3liz.com/
36 |
37 | ____________________________________________________________________________________
38 |
39 | Julien ANCELIN ( julien.ancelin@inra.fr) 2017
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/arm_32/ before_build_docker_run_multiarch_arm:
--------------------------------------------------------------------------------
1 | docker run --rm --privileged multiarch/qemu-user-static:register --reset
2 |
3 |
4 | #add at Dockerfile start and end
5 |
6 | FROM resin/raspberrypi3-debian:jessie
7 | RUN [ "cross-build-start" ]
8 |
9 |
10 |
11 |
12 | RUN [ "cross-build-end" ]
13 |
--------------------------------------------------------------------------------
/arm_32/Dockerfile:
--------------------------------------------------------------------------------
1 |
2 | FROM resin/raspberrypi3-debian:jessie
3 | RUN [ "cross-build-start" ]
4 | MAINTAINER Julien Ancelin / docker-lizmap
5 |
6 | RUN apt-get -y update \
7 | && apt-get -t jessie install -y python-simplejson python-software-properties xauth htop vim curl ntp ntpdate ssl-cert\
8 | apache2 apache2-mpm-worker apache2-mpm-prefork apache2-bin apache2-data libapache2-mod-fcgid libapache2-mod-php5 \
9 | php5 php5-common php5-cgi php5-curl php5-cli php5-sqlite php5-gd php5-pgsql unzip\
10 | && apt-get clean \
11 | && rm -r /var/lib/apt/lists/*
12 |
13 | RUN a2dismod php5; a2enmod actions; a2enmod fcgid ; a2enmod ssl; a2enmod rewrite; a2enmod headers; \
14 | a2enmod deflate; a2enmod php5
15 |
16 | ENV LIZMAPVERSION 3.2.1
17 |
18 | COPY files/ /home/files/
19 |
20 | ADD https://github.com/3liz/lizmap-web-client/archive/$LIZMAPVERSION.zip /var/www/
21 | RUN /home/files/setup.sh
22 |
23 | VOLUME ["/var/www/websig/lizmap/var" , "/home"]
24 | EXPOSE 80 443
25 | CMD /start.sh
26 | RUN [ "cross-build-end" ]
27 |
--------------------------------------------------------------------------------
/arm_32/files/apache.conf:
--------------------------------------------------------------------------------
1 |
2 | # The ServerName directive sets the request scheme, hostname and port that
3 | # the server uses to identify itself. This is used when creating
4 | # redirection URLs. In the context of virtual hosts, the ServerName
5 | # specifies what hostname must appear in the request's Host: header to
6 | # match this virtual host. For the default virtual host (this file) this
7 | # value is not decisive as it is used as a last resort host regardless.
8 | # However, you must set it for any further virtual host explicitly.
9 | #ServerName www.example.com
10 |
11 | ServerAdmin webmaster@localhost
12 | DocumentRoot /var/www
13 |
14 | # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
15 | # error, crit, alert, emerg.
16 | # It is also possible to configure the loglevel for particular
17 | # modules, e.g.
18 | #LogLevel info ssl:warn
19 |
20 | ErrorLog ${APACHE_LOG_DIR}/error.log
21 | CustomLog ${APACHE_LOG_DIR}/access.log combined
22 |
23 | # For most configuration files from conf-available/, which are
24 | # enabled or disabled at a global level, it is possible to
25 | # include a line for only one particular virtual host. For example the
26 | # following line enables the CGI configuration for this host only
27 | # after it has been globally disabled with "a2disconf".
28 | #Include conf-available/serve-cgi-bin.conf
29 |
30 | ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
31 |
32 | Options ExecCGI FollowSymLinks
33 | Require all granted
34 | AddHandler fcgid-script .fcgi
35 |
36 |
37 |
38 |
39 | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
40 |
--------------------------------------------------------------------------------
/arm_32/files/apache2.conf:
--------------------------------------------------------------------------------
1 | # This is the main Apache server configuration file. It contains the
2 | # configuration directives that give the server its instructions.
3 | # See http://httpd.apache.org/docs/2.4/ for detailed information about
4 | # the directives and /usr/share/doc/apache2/README.Debian about Debian specific
5 | # hints.
6 | #
7 | #
8 | # Summary of how the Apache 2 configuration works in Debian:
9 | # The Apache 2 web server configuration in Debian is quite different to
10 | # upstream's suggested way to configure the web server. This is because Debian's
11 | # default Apache2 installation attempts to make adding and removing modules,
12 | # virtual hosts, and extra configuration directives as flexible as possible, in
13 | # order to make automating the changes and administering the server as easy as
14 | # possible.
15 |
16 | # It is split into several files forming the configuration hierarchy outlined
17 | # below, all located in the /etc/apache2/ directory:
18 | #
19 | # /etc/apache2/
20 | # |-- apache2.conf
21 | # | `-- ports.conf
22 | # |-- mods-enabled
23 | # | |-- *.load
24 | # | `-- *.conf
25 | # |-- conf-enabled
26 | # | `-- *.conf
27 | # `-- sites-enabled
28 | # `-- *.conf
29 | #
30 | #
31 | # * apache2.conf is the main configuration file (this file). It puts the pieces
32 | # together by including all remaining configuration files when starting up the
33 | # web server.
34 | #
35 | # * ports.conf is always included from the main configuration file. It is
36 | # supposed to determine listening ports for incoming connections which can be
37 | # customized anytime.
38 | #
39 | # * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
40 | # directories contain particular configuration snippets which manage modules,
41 | # global configuration fragments, or virtual host configurations,
42 | # respectively.
43 | #
44 | # They are activated by symlinking available configuration files from their
45 | # respective *-available/ counterparts. These should be managed by using our
46 | # helpers a2enmod/a2dismod, a2ensite/a2dissite and a2enconf/a2disconf. See
47 | # their respective man pages for detailed information.
48 | #
49 | # * The binary is called apache2. Due to the use of environment variables, in
50 | # the default configuration, apache2 needs to be started/stopped with
51 | # /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not
52 | # work with the default configuration.
53 |
54 |
55 | # Global configuration
56 | #
57 |
58 | #
59 | # ServerRoot: The top of the directory tree under which the server's
60 | # configuration, error, and log files are kept.
61 | #
62 | # NOTE! If you intend to place this on an NFS (or otherwise network)
63 | # mounted filesystem then please read the Mutex documentation (available
64 | # at );
65 | # you will save yourself a lot of trouble.
66 | #
67 | # Do NOT add a slash at the end of the directory path.
68 | #
69 | #ServerRoot "/etc/apache2"
70 |
71 | #
72 | # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
73 | #
74 | Mutex file:${APACHE_LOCK_DIR} default
75 |
76 | #
77 | # PidFile: The file in which the server should record its process
78 | # identification number when it starts.
79 | # This needs to be set in /etc/apache2/envvars
80 | #
81 | PidFile ${APACHE_PID_FILE}
82 |
83 | #
84 | # Timeout: The number of seconds before receives and sends time out.
85 | #
86 | Timeout 300
87 |
88 | #
89 | # KeepAlive: Whether or not to allow persistent connections (more than
90 | # one request per connection). Set to "Off" to deactivate.
91 | #
92 | KeepAlive On
93 |
94 | #
95 | # MaxKeepAliveRequests: The maximum number of requests to allow
96 | # during a persistent connection. Set to 0 to allow an unlimited amount.
97 | # We recommend you leave this number high, for maximum performance.
98 | #
99 | MaxKeepAliveRequests 100
100 |
101 | #
102 | # KeepAliveTimeout: Number of seconds to wait for the next request from the
103 | # same client on the same connection.
104 | #
105 | KeepAliveTimeout 5
106 |
107 |
108 | # These need to be set in /etc/apache2/envvars
109 | User ${APACHE_RUN_USER}
110 | Group ${APACHE_RUN_GROUP}
111 |
112 | #
113 | # HostnameLookups: Log the names of clients or just their IP addresses
114 | # e.g., www.apache.org (on) or 204.62.129.132 (off).
115 | # The default is off because it'd be overall better for the net if people
116 | # had to knowingly turn this feature on, since enabling it means that
117 | # each client request will result in AT LEAST one lookup request to the
118 | # nameserver.
119 | #
120 | HostnameLookups Off
121 |
122 | # ErrorLog: The location of the error log file.
123 | # If you do not specify an ErrorLog directive within a
124 | # container, error messages relating to that virtual host will be
125 | # logged here. If you *do* define an error logfile for a
126 | # container, that host's errors will be logged there and not here.
127 | #
128 | ErrorLog ${APACHE_LOG_DIR}/error.log
129 |
130 | #
131 | # LogLevel: Control the severity of messages logged to the error_log.
132 | # Available values: trace8, ..., trace1, debug, info, notice, warn,
133 | # error, crit, alert, emerg.
134 | # It is also possible to configure the log level for particular modules, e.g.
135 | # "LogLevel info ssl:warn"
136 | #
137 | LogLevel warn
138 |
139 | # Include module configuration:
140 | IncludeOptional mods-enabled/*.load
141 | IncludeOptional mods-enabled/*.conf
142 |
143 | # Include list of ports to listen on
144 | Include ports.conf
145 |
146 |
147 | # Sets the default security model of the Apache2 HTTPD server. It does
148 | # not allow access to the root filesystem outside of /usr/share and /var/www.
149 | # The former is used by web applications packaged in Debian,
150 | # the latter may be used for local directories served by the web server. If
151 | # your system is serving content from a sub-directory in /srv you must allow
152 | # access here, or in any related virtual host.
153 |
154 | Options FollowSymLinks
155 | AllowOverride None
156 | Require all denied
157 |
158 |
159 |
160 | AllowOverride None
161 | Require all granted
162 |
163 |
164 |
165 | Options Indexes FollowSymLinks
166 | AllowOverride None
167 | Require all granted
168 | Options -Indexes
169 |
170 |
171 | #
172 | # Options Indexes FollowSymLinks
173 | # AllowOverride None
174 | # Require all granted
175 | #
176 |
177 |
178 |
179 |
180 | # AccessFileName: The name of the file to look for in each directory
181 | # for additional configuration directives. See also the AllowOverride
182 | # directive.
183 | #
184 | AccessFileName .htaccess
185 |
186 | #
187 | # The following lines prevent .htaccess and .htpasswd files from being
188 | # viewed by Web clients.
189 | #
190 |
191 | Require all denied
192 |
193 |
194 |
195 | #
196 | # The following directives define some format nicknames for use with
197 | # a CustomLog directive.
198 | #
199 | # These deviate from the Common Log Format definitions in that they use %O
200 | # (the actual bytes sent including headers) instead of %b (the size of the
201 | # requested file), because the latter makes it impossible to detect partial
202 | # requests.
203 | #
204 | # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
205 | # Use mod_remoteip instead.
206 | #
207 | LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
208 | LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
209 | LogFormat "%h %l %u %t \"%r\" %>s %O" common
210 | LogFormat "%{Referer}i -> %U" referer
211 | LogFormat "%{User-agent}i" agent
212 |
213 | # Include of directories ignores editors' and dpkg's backup files,
214 | # see README.Debian for details.
215 |
216 | # Include generic snippets of statements
217 | IncludeOptional conf-enabled/*.conf
218 |
219 | # Include the virtual host configurations:
220 | IncludeOptional sites-enabled/*.conf
221 |
222 | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
223 |
224 |
225 | StartServers 4
226 | MinSpareThreads 25
227 | MaxSpareThreads 100
228 | ThreadLimit 64
229 | ThreadsPerChild 25
230 | MaxClients 150
231 | MaxRequestsPerChild 0
232 |
233 |
--------------------------------------------------------------------------------
/arm_32/files/apache_https.conf:
--------------------------------------------------------------------------------
1 |
2 |
3 | ServerAdmin webmaster@localhost
4 |
5 | DocumentRoot /var/www
6 |
7 | ErrorLog ${APACHE_LOG_DIR}/error.log
8 | CustomLog ${APACHE_LOG_DIR}/access.log combined
9 |
10 | SSLEngine on
11 |
12 | SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
13 | SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
14 |
15 |
16 |
17 | SSLOptions +StdEnvVars
18 |
19 |
20 | SSLOptions +StdEnvVars
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/arm_32/files/fcgid.conf:
--------------------------------------------------------------------------------
1 |
2 | # this file will overwrite default file: /etc/apache2/mods-available/fcgid.conf
3 |
4 |
5 | AddHandler fcgid-script .fcgi
6 | FcgidConnectTimeout 300
7 | FcgidIOTimeout 300
8 | FcgidMaxProcessesPerClass 50
9 | FcgidMinProcessesPerClass 20
10 | FcgidMaxRequestsPerProcess 500
11 | IdleTimeout 300
12 | BusyTimeout 300
13 | FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH /tmp/auth/db/
14 | FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE /tmp/auth/master/qgis_auth_master_password.txt
15 |
16 |
17 |
--------------------------------------------------------------------------------
/arm_32/files/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/arm_32/files/jauth.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jancelin/docker-lizmap/653fc2069687e3147098c2163be2e6a7338b6a78/arm_32/files/jauth.db
--------------------------------------------------------------------------------
/arm_32/files/lizmapConfig.ini.php:
--------------------------------------------------------------------------------
1 | ;
2 | ;for security reasons , don't remove or modify the first line
3 |
4 | ;Services
5 | ;list the different map services (servers, generic parameters, etc.)
6 | [services]
7 | wmsServerURL="http://qgiserver/cgi-bin/qgis_mapserv.fcgi"
8 | ;List of URL available for the web client
9 | onlyMaps=off
10 | cacheStorageType=redis
11 | ;cacheStorageType=sqlite => store cached images in one sqlite file per repo/project/layer
12 | ;cacheStorageType=file => store cached images in one folder per repo/project/layer. The root folder is /tmp/
13 | cacheRedisHost=redisD
14 | cacheRedisPort=6379
15 | cacheExpiration=0
16 | ; default cache expiration : the default time to live of data, in seconds.
17 | ; 0 means no expiration, max : 2592000 seconds (30 days)
18 | proxyMethod=php
19 | ; php -> use the built in file_get_contents method
20 | ; curl-> use curl. It must be installed.
21 | debugMode=1
22 | ; debug mode
23 | ; on = print debug messages in lizmap/var/log/messages.log
24 | ; off = no lizmap debug messages
25 | cacheRootDirectory="/tmp/"
26 | ; cache root directory where cache files will be stored
27 | ; must be writable
28 |
29 | ; path to find repositories
30 | ; rootRepositories="path"
31 | ; Does the server use relative path from root folder? 0/1
32 | ; relativeWMSPath=0
33 |
34 |
35 | appName=Lizmap
36 | qgisServerVersion=2.18
37 | wmsMaxWidth=3000
38 | wmsMaxHeight=3000
39 | relativeWMSPath=0
40 | cacheRedisDb=1
41 | cacheRedisKeyPrefix=a
42 |
43 | [repository:demo]
44 | label=Demo
45 | path="/home/files/qgis"
46 | allowUserDefinedThemes=1
47 |
--------------------------------------------------------------------------------
/arm_32/files/localconfig.ini.php:
--------------------------------------------------------------------------------
1 | ;
2 | ;for security reasons , don't remove or modify the first line
3 |
4 | ; put here configuration variables that are specific to this installation
5 |
6 |
7 | ; chmod for files created by Lizmap and Jelix
8 | ;chmodFile=0664
9 | ;chmodDir=0775
10 |
11 |
12 |
13 | [modules]
14 | ;; uncomment it if you want to use ldap for authentication
15 | ;; see documentation to complete the ldap configuration
16 | ;ldapdao.access=1
17 |
18 |
19 | [coordplugin_auth]
20 | ;; uncomment it if you want to use ldap for authentication
21 | ;; see documentation to complete the ldap configuration
22 | ;driver=ldapdao
23 |
24 | [urlengine]
25 | checkHttpsOnParsing = off
26 | forceProxyProtocol = https
27 |
28 |
--------------------------------------------------------------------------------
/arm_32/files/mod_deflate.conf:
--------------------------------------------------------------------------------
1 |
2 | # Insérer le filtre
3 | SetOutputFilter DEFLATE
4 | # Netscape 4.x rencontre quelques problèmes...
5 | BrowserMatch ^Mozilla/4 gzip-only-text/html
6 | # Netscape 4.06-4.08 rencontre encore plus de problèmes
7 | BrowserMatch ^Mozilla/4\.0[678] no-gzip
8 | # MSIE se fait passer pour Netscape, mais tout va bien
9 | BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
10 | # Ne pas compresser les images
11 | SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
12 | # S'assurer que les serveurs mandataires délivrent le bon contenu
13 | Header append Vary User-Agent env=!dont-vary
14 |
15 |
--------------------------------------------------------------------------------
/arm_32/files/php.conf:
--------------------------------------------------------------------------------
1 |
2 | AddHandler fcgid-script .php
3 | FCGIWrapper /usr/lib/cgi-bin/php5 .php
4 | Options ExecCGI FollowSymlinks Indexes
5 |
6 |
7 |
8 | AddHandler fcgid-script .php
9 | FCGIWrapper /usr/lib/cgi-bin/php5 .php
10 | Options +ExecCGI
11 | allow from all
12 |
13 |
--------------------------------------------------------------------------------
/arm_32/files/qgis/helloWorld.qgs.cfg:
--------------------------------------------------------------------------------
1 | {
2 | "layers": {
3 | "brouillon_poly": {
4 | "abstract": "",
5 | "displayInLegend": "True",
6 | "baseLayer": "False",
7 | "noLegendImage": "False",
8 | "id": "brouillon_poly20180320144652507",
9 | "title": "polygones",
10 | "singleTile": "True",
11 | "geometryType": "polygon",
12 | "groupAsLayer": "False",
13 | "popupTemplate": "",
14 | "popup": "False",
15 | "popupDisplayChildren": "False",
16 | "clientCacheExpiration": 300,
17 | "link": "",
18 | "extent": [
19 | -155618.718864,
20 | 6281087.12174,
21 | 766962.295682,
22 | 6798963.4679
23 | ],
24 | "toggled": "True",
25 | "crs": "EPSG:2154",
26 | "name": "brouillon_poly",
27 | "cached": "False",
28 | "type": "layer",
29 | "maxScale": 1000000000000,
30 | "popupSource": "lizmap",
31 | "imageFormat": "image/png",
32 | "minScale": 1
33 | },
34 | "brouillon_point": {
35 | "abstract": "",
36 | "displayInLegend": "True",
37 | "baseLayer": "False",
38 | "noLegendImage": "False",
39 | "id": "brouillon_point20180320144652972",
40 | "title": "points",
41 | "singleTile": "True",
42 | "geometryType": "point",
43 | "groupAsLayer": "False",
44 | "popupTemplate": "",
45 | "popup": "False",
46 | "popupDisplayChildren": "False",
47 | "clientCacheExpiration": 300,
48 | "link": "",
49 | "extent": [
50 | -422981.65625,
51 | 6248613.0,
52 | 1031679.125,
53 | 7197322.5
54 | ],
55 | "toggled": "True",
56 | "crs": "EPSG:2154",
57 | "name": "brouillon_point",
58 | "cached": "False",
59 | "type": "layer",
60 | "maxScale": 1000000000000,
61 | "popupSource": "lizmap",
62 | "imageFormat": "image/png",
63 | "minScale": 1
64 | },
65 | "brouillon_ligne": {
66 | "abstract": "",
67 | "displayInLegend": "True",
68 | "baseLayer": "False",
69 | "noLegendImage": "False",
70 | "id": "brouillon_ligne20180320144651423",
71 | "title": "lignes",
72 | "singleTile": "True",
73 | "geometryType": "line",
74 | "groupAsLayer": "False",
75 | "popupTemplate": "",
76 | "popup": "False",
77 | "popupDisplayChildren": "False",
78 | "clientCacheExpiration": 300,
79 | "link": "",
80 | "extent": [
81 | 139124.83343,
82 | 6289672.19573,
83 | 1220343.37,
84 | 7481673.52876
85 | ],
86 | "toggled": "True",
87 | "crs": "EPSG:2154",
88 | "name": "brouillon_ligne",
89 | "cached": "False",
90 | "type": "layer",
91 | "maxScale": 1000000000000,
92 | "popupSource": "lizmap",
93 | "imageFormat": "image/png",
94 | "minScale": 1
95 | },
96 | "var1": {
97 | "abstract": "",
98 | "displayInLegend": "True",
99 | "baseLayer": "False",
100 | "noLegendImage": "False",
101 | "id": "var120180320154917782",
102 | "title": "var1",
103 | "singleTile": "True",
104 | "geometryType": "none",
105 | "groupAsLayer": "False",
106 | "popupTemplate": "",
107 | "popup": "False",
108 | "popupDisplayChildren": "False",
109 | "clientCacheExpiration": 300,
110 | "link": "",
111 | "extent": [
112 | 1.79769313486e+308,
113 | 1.79769313486e+308,
114 | -1.79769313486e+308,
115 | -1.79769313486e+308
116 | ],
117 | "toggled": "True",
118 | "crs": "EPSG:4326",
119 | "name": "var1",
120 | "cached": "False",
121 | "type": "layer",
122 | "maxScale": 1000000000000,
123 | "popupSource": "lizmap",
124 | "imageFormat": "image/png",
125 | "minScale": 1
126 | },
127 | "var2": {
128 | "abstract": "",
129 | "displayInLegend": "True",
130 | "baseLayer": "False",
131 | "noLegendImage": "False",
132 | "id": "var220180320154918240",
133 | "title": "var2",
134 | "singleTile": "True",
135 | "geometryType": "none",
136 | "groupAsLayer": "False",
137 | "popupTemplate": "",
138 | "popup": "False",
139 | "popupDisplayChildren": "False",
140 | "clientCacheExpiration": 300,
141 | "link": "",
142 | "extent": [
143 | 1.79769313486e+308,
144 | 1.79769313486e+308,
145 | -1.79769313486e+308,
146 | -1.79769313486e+308
147 | ],
148 | "toggled": "True",
149 | "crs": "EPSG:4326",
150 | "name": "var2",
151 | "cached": "False",
152 | "type": "layer",
153 | "maxScale": 1000000000000,
154 | "popupSource": "lizmap",
155 | "imageFormat": "image/png",
156 | "minScale": 1
157 | }
158 | },
159 | "attributeLayers": {
160 | "brouillon_poly": {
161 | "hiddenFields": "",
162 | "hideAsChild": "False",
163 | "hideLayer": "False",
164 | "order": 1,
165 | "layerId": "brouillon_poly20180320144652507",
166 | "pivot": "False",
167 | "primaryKey": "id"
168 | },
169 | "brouillon_point": {
170 | "hiddenFields": "",
171 | "hideAsChild": "False",
172 | "hideLayer": "False",
173 | "order": 2,
174 | "layerId": "brouillon_point20180320144652972",
175 | "pivot": "False",
176 | "primaryKey": "id"
177 | },
178 | "brouillon_ligne": {
179 | "hiddenFields": "",
180 | "hideAsChild": "False",
181 | "hideLayer": "False",
182 | "order": 0,
183 | "layerId": "brouillon_ligne20180320144651423",
184 | "pivot": "False",
185 | "primaryKey": "id"
186 | },
187 | "var1": {
188 | "hiddenFields": "",
189 | "hideAsChild": "False",
190 | "hideLayer": "False",
191 | "order": 3,
192 | "layerId": "var120180320154917782",
193 | "pivot": "False",
194 | "primaryKey": "id"
195 | },
196 | "var2": {
197 | "hiddenFields": "",
198 | "hideAsChild": "False",
199 | "hideLayer": "False",
200 | "order": 4,
201 | "layerId": "var220180320154918240",
202 | "pivot": "False",
203 | "primaryKey": "id"
204 | }
205 | },
206 | "options": {
207 | "geolocation": "True",
208 | "projection": {
209 | "proj4": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs",
210 | "ref": "EPSG:3857"
211 | },
212 | "popupLocation": "dock",
213 | "initialExtent": [
214 | -14039290.9349,
215 | -7180207.26282,
216 | 18242521.5981,
217 | 19526834.4311
218 | ],
219 | "lineTolerance": 10,
220 | "tmAnimationFrameLength": 1000,
221 | "measure": "True",
222 | "osmMapnik": "True",
223 | "startupBaselayer": "osm-stamen-toner",
224 | "hideGroupCheckbox": "True",
225 | "googleSatellite": "True",
226 | "limitDataToBbox": "True",
227 | "zoomHistory": "True",
228 | "polygonTolerance": 5,
229 | "osmStamenToner": "True",
230 | "mapScales": [
231 | 2000,
232 | 5000,
233 | 10000,
234 | 25000,
235 | 50000,
236 | 100000,
237 | 250000,
238 | 500000,
239 | 1000000,
240 | 100000000
241 | ],
242 | "bbox": [
243 | -15509051.353025248,
244 | -6035619.761648151,
245 | 19712282.016233865,
246 | 18382246.929924753
247 | ],
248 | "hideHeader": "True",
249 | "googleStreets": "True",
250 | "maxScale": 100000000,
251 | "tmTimeFrameType": "seconds",
252 | "tmTimeFrameSize": 10,
253 | "googleTerrain": "True",
254 | "minScale": 2000,
255 | "pointTolerance": 25
256 | },
257 | "editionLayers": {
258 | "brouillon_poly": {
259 | "acl": "",
260 | "geometryType": "polygon",
261 | "order": 1,
262 | "capabilities": {
263 | "modifyGeometry": "True",
264 | "modifyAttribute": "True",
265 | "createFeature": "True",
266 | "deleteFeature": "True"
267 | },
268 | "layerId": "brouillon_poly20180320144652507"
269 | },
270 | "brouillon_point": {
271 | "acl": "",
272 | "geometryType": "point",
273 | "order": 2,
274 | "capabilities": {
275 | "modifyGeometry": "True",
276 | "modifyAttribute": "True",
277 | "createFeature": "True",
278 | "deleteFeature": "True"
279 | },
280 | "layerId": "brouillon_point20180320144652972"
281 | },
282 | "brouillon_ligne": {
283 | "acl": "",
284 | "geometryType": "line",
285 | "order": 0,
286 | "capabilities": {
287 | "modifyGeometry": "True",
288 | "modifyAttribute": "True",
289 | "createFeature": "True",
290 | "deleteFeature": "True"
291 | },
292 | "layerId": "brouillon_ligne20180320144651423"
293 | },
294 | "var1": {
295 | "acl": "",
296 | "geometryType": "none",
297 | "order": 3,
298 | "capabilities": {
299 | "modifyGeometry": "True",
300 | "modifyAttribute": "True",
301 | "createFeature": "True",
302 | "deleteFeature": "False"
303 | },
304 | "layerId": "var120180320154917782"
305 | },
306 | "var2": {
307 | "acl": "",
308 | "geometryType": "none",
309 | "order": 4,
310 | "capabilities": {
311 | "modifyGeometry": "True",
312 | "modifyAttribute": "True",
313 | "createFeature": "True",
314 | "deleteFeature": "False"
315 | },
316 | "layerId": "var220180320154918240"
317 | }
318 | }
319 | }
--------------------------------------------------------------------------------
/arm_32/files/qgis/helloWorld.qgs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jancelin/docker-lizmap/653fc2069687e3147098c2163be2e6a7338b6a78/arm_32/files/qgis/helloWorld.qgs.png
--------------------------------------------------------------------------------
/arm_32/files/qgis/test.qgs.cfg:
--------------------------------------------------------------------------------
1 | {
2 | "layers": {
3 | "analyse_messicole": {
4 | "abstract": "",
5 | "displayInLegend": "True",
6 | "baseLayer": "False",
7 | "noLegendImage": "False",
8 | "id": "analyse_messicole20180319151749966",
9 | "title": "analyse messicole",
10 | "singleTile": "True",
11 | "geometryType": "point",
12 | "groupAsLayer": "False",
13 | "popupTemplate": "",
14 | "popup": "False",
15 | "popupDisplayChildren": "False",
16 | "clientCacheExpiration": 300,
17 | "link": "",
18 | "extent": [
19 | 434213.070188,
20 | 6567399.50551,
21 | 447845.130772,
22 | 6577951.68186
23 | ],
24 | "toggled": "True",
25 | "crs": "EPSG:2154",
26 | "name": "analyse_messicole",
27 | "cached": "False",
28 | "type": "layer",
29 | "maxScale": 1000000000000,
30 | "popupSource": "lizmap",
31 | "imageFormat": "image/png",
32 | "minScale": 1
33 | },
34 | "operateur_utilisateur": {
35 | "abstract": "",
36 | "displayInLegend": "True",
37 | "baseLayer": "False",
38 | "noLegendImage": "False",
39 | "id": "operateur_utilisateur20180319151749998",
40 | "title": "operateur_utilisateur",
41 | "singleTile": "True",
42 | "geometryType": "none",
43 | "groupAsLayer": "False",
44 | "popupTemplate": "",
45 | "popup": "False",
46 | "popupDisplayChildren": "False",
47 | "clientCacheExpiration": 300,
48 | "link": "",
49 | "extent": [
50 | 1.79769313486e+308,
51 | 1.79769313486e+308,
52 | -1.79769313486e+308,
53 | -1.79769313486e+308
54 | ],
55 | "toggled": "True",
56 | "crs": "EPSG:4326",
57 | "name": "operateur_utilisateur",
58 | "cached": "False",
59 | "type": "layer",
60 | "maxScale": 1000000000000,
61 | "popupSource": "lizmap",
62 | "imageFormat": "image/png",
63 | "minScale": 1
64 | },
65 | "t_plante": {
66 | "abstract": "",
67 | "displayInLegend": "True",
68 | "baseLayer": "False",
69 | "noLegendImage": "False",
70 | "id": "t_plante20180319151749982",
71 | "title": "t_plante",
72 | "singleTile": "True",
73 | "geometryType": "none",
74 | "groupAsLayer": "False",
75 | "popupTemplate": "",
76 | "popup": "False",
77 | "popupDisplayChildren": "False",
78 | "clientCacheExpiration": 300,
79 | "link": "",
80 | "extent": [
81 | 1.79769313486e+308,
82 | 1.79769313486e+308,
83 | -1.79769313486e+308,
84 | -1.79769313486e+308
85 | ],
86 | "toggled": "True",
87 | "crs": "EPSG:4326",
88 | "name": "t_plante",
89 | "cached": "False",
90 | "type": "layer",
91 | "maxScale": 1000000000000,
92 | "popupSource": "lizmap",
93 | "imageFormat": "image/png",
94 | "minScale": 1
95 | },
96 | "classe_quantite": {
97 | "abstract": "",
98 | "displayInLegend": "True",
99 | "baseLayer": "False",
100 | "noLegendImage": "False",
101 | "id": "classe_quantite20180319151750007",
102 | "title": "classe_quantite",
103 | "singleTile": "True",
104 | "geometryType": "none",
105 | "groupAsLayer": "False",
106 | "popupTemplate": "",
107 | "popup": "False",
108 | "popupDisplayChildren": "False",
109 | "clientCacheExpiration": 300,
110 | "link": "",
111 | "extent": [
112 | 1.79769313486e+308,
113 | 1.79769313486e+308,
114 | -1.79769313486e+308,
115 | -1.79769313486e+308
116 | ],
117 | "toggled": "True",
118 | "crs": "EPSG:4326",
119 | "name": "classe_quantite",
120 | "cached": "False",
121 | "type": "layer",
122 | "maxScale": 1000000000000,
123 | "popupSource": "lizmap",
124 | "imageFormat": "image/png",
125 | "minScale": 1
126 | },
127 | "t_terrain": {
128 | "abstract": "",
129 | "displayInLegend": "True",
130 | "baseLayer": "False",
131 | "noLegendImage": "False",
132 | "id": "t_terrain20180319151749990",
133 | "title": "t_terrain",
134 | "singleTile": "True",
135 | "geometryType": "none",
136 | "groupAsLayer": "False",
137 | "popupTemplate": "",
138 | "popup": "False",
139 | "popupDisplayChildren": "False",
140 | "clientCacheExpiration": 300,
141 | "link": "",
142 | "extent": [
143 | 1.79769313486e+308,
144 | 1.79769313486e+308,
145 | -1.79769313486e+308,
146 | -1.79769313486e+308
147 | ],
148 | "toggled": "True",
149 | "crs": "EPSG:4326",
150 | "name": "t_terrain",
151 | "cached": "False",
152 | "type": "layer",
153 | "maxScale": 1000000000000,
154 | "popupSource": "lizmap",
155 | "imageFormat": "image/png",
156 | "minScale": 1
157 | },
158 | "code_culture": {
159 | "abstract": "",
160 | "displayInLegend": "True",
161 | "baseLayer": "False",
162 | "noLegendImage": "False",
163 | "id": "code_culture20180319151749975",
164 | "title": "code_culture",
165 | "singleTile": "True",
166 | "geometryType": "none",
167 | "groupAsLayer": "False",
168 | "popupTemplate": "",
169 | "popup": "False",
170 | "popupDisplayChildren": "False",
171 | "clientCacheExpiration": 300,
172 | "link": "",
173 | "extent": [
174 | 1.79769313486e+308,
175 | 1.79769313486e+308,
176 | -1.79769313486e+308,
177 | -1.79769313486e+308
178 | ],
179 | "toggled": "True",
180 | "crs": "EPSG:4326",
181 | "name": "code_culture",
182 | "cached": "False",
183 | "type": "layer",
184 | "maxScale": 1000000000000,
185 | "popupSource": "lizmap",
186 | "imageFormat": "image/png",
187 | "minScale": 1
188 | },
189 | "br_pt": {
190 | "abstract": "",
191 | "displayInLegend": "True",
192 | "baseLayer": "False",
193 | "noLegendImage": "False",
194 | "id": "br_pt20180319151749959",
195 | "title": "brouillon point",
196 | "singleTile": "True",
197 | "geometryType": "point",
198 | "groupAsLayer": "False",
199 | "popupTemplate": "",
200 | "popup": "False",
201 | "popupDisplayChildren": "False",
202 | "clientCacheExpiration": 300,
203 | "link": "",
204 | "extent": [
205 | 380921.21484,
206 | 6569661.19458,
207 | 380921.21484,
208 | 6569661.19458
209 | ],
210 | "toggled": "True",
211 | "crs": "EPSG:2154",
212 | "name": "br_pt",
213 | "cached": "False",
214 | "type": "layer",
215 | "maxScale": 1000000000000,
216 | "popupSource": "lizmap",
217 | "imageFormat": "image/png",
218 | "minScale": 1
219 | },
220 | "inventaire_gps": {
221 | "abstract": "",
222 | "displayInLegend": "True",
223 | "baseLayer": "False",
224 | "noLegendImage": "False",
225 | "id": "inventaire_gps20180319151749951",
226 | "title": "inventaire messicole",
227 | "singleTile": "True",
228 | "geometryType": "point",
229 | "groupAsLayer": "False",
230 | "popupTemplate": "",
231 | "popup": "False",
232 | "popupDisplayChildren": "False",
233 | "clientCacheExpiration": 300,
234 | "link": "",
235 | "extent": [
236 | 434144.90625,
237 | 6567346.5,
238 | 447913.3125,
239 | 6578005.0
240 | ],
241 | "toggled": "True",
242 | "crs": "EPSG:2154",
243 | "name": "inventaire_gps",
244 | "cached": "False",
245 | "type": "layer",
246 | "maxScale": 1000000000000,
247 | "popupSource": "lizmap",
248 | "imageFormat": "image/png",
249 | "minScale": 1
250 | }
251 | },
252 | "editionLayers": {
253 | "br_pt": {
254 | "acl": "",
255 | "geometryType": "point",
256 | "order": 0,
257 | "capabilities": {
258 | "modifyGeometry": "True",
259 | "modifyAttribute": "True",
260 | "createFeature": "True",
261 | "deleteFeature": "True"
262 | },
263 | "layerId": "br_pt20180319151749959"
264 | },
265 | "inventaire_gps": {
266 | "acl": "",
267 | "geometryType": "point",
268 | "order": 1,
269 | "capabilities": {
270 | "modifyGeometry": "True",
271 | "modifyAttribute": "True",
272 | "createFeature": "True",
273 | "deleteFeature": "True"
274 | },
275 | "layerId": "inventaire_gps20180319151749951"
276 | }
277 | },
278 | "options": {
279 | "geolocation": "True",
280 | "projection": {
281 | "proj4": "+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs",
282 | "ref": "EPSG:2154"
283 | },
284 | "popupLocation": "dock",
285 | "initialExtent": [
286 | 426425.90567436937,
287 | 6558041.378299507,
288 | 456633.38487184764,
289 | 6584748.419993415
290 | ],
291 | "lineTolerance": 10,
292 | "tmAnimationFrameLength": 1000,
293 | "measure": "True",
294 | "osmMapnik": "True",
295 | "startupBaselayer": "osm-mapnik",
296 | "hideGroupCheckbox": "True",
297 | "googleSatellite": "True",
298 | "zoomHistory": "True",
299 | "polygonTolerance": 5,
300 | "osmStamenToner": "True",
301 | "mapScales": [
302 | 5000,
303 | 10000,
304 | 25000,
305 | 50000,
306 | 100000
307 | ],
308 | "bbox": [
309 | 426425.90567436937,
310 | 6558041.378299507,
311 | 456633.38487184764,
312 | 6584748.419993415
313 | ],
314 | "hideHeader": "True",
315 | "maxScale": 100000,
316 | "tmTimeFrameType": "seconds",
317 | "tmTimeFrameSize": 10,
318 | "minScale": 5000,
319 | "pointTolerance": 25
320 | }
321 | }
--------------------------------------------------------------------------------
/arm_32/files/qgis/test.qgs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jancelin/docker-lizmap/653fc2069687e3147098c2163be2e6a7338b6a78/arm_32/files/qgis/test.qgs.png
--------------------------------------------------------------------------------
/arm_32/files/setup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -x
3 |
4 | mkdir /etc/apache2/ssl
5 | /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem
6 | /usr/sbin/a2ensite default-ssl
7 |
8 | mv /home/files/php.conf /etc/apache2/conf-available/php.conf
9 | mv /home/files/apache2.conf /etc/apache2/apache2.conf
10 | rm -v /etc/apache2/mods-enabled/fcgid.conf
11 | mv /home/files/fcgid.conf /etc/apache2/mods-enabled/fcgid.conf
12 | mv /home/files/mod_deflate.conf /etc/apache2/conf-available/mod_deflate.conf
13 | mv /home/files/apache_https.conf /etc/apache2/sites-available/default-ssl.conf
14 | mv /home/files/apache.conf /etc/apache2/sites-available/000-default.conf
15 | mv /home/files/index.html /var/www/index.html
16 | mv /home/files/start.sh /start.sh
17 | chmod 0755 /start.sh
18 |
19 | # unzip lizmap master
20 | unzip /var/www/$LIZMAPVERSION.zip -d /var/www/
21 | mv /var/www/lizmap-web-client-$LIZMAPVERSION/ /var/www/websig/
22 | rm /var/www/$LIZMAPVERSION.zip
23 | # Set rights & active config
24 | chmod +x /var/www/websig/lizmap/install/set_rights.sh
25 | /var/www/websig/lizmap/install/set_rights.sh www-data www-data
26 | cp /home/files/lizmapConfig.ini.php /var/www/websig/lizmap/var/config/lizmapConfig.ini.php
27 | cp /home/files/localconfig.ini.php /var/www/websig/lizmap/var/config/localconfig.ini.php
28 | cp /var/www/websig/lizmap/var/config/profiles.ini.php.dist /var/www/websig/lizmap/var/config/profiles.ini.php
29 | # Installer
30 | php /var/www/websig/lizmap/install/installer.php
31 | #change jauth.db
32 | cp /home/files/jauth.db /var/www/websig/lizmap/var/db/jauth.db
33 | # Set rights
34 | chown :www-data /var/www/websig/lizmap/www -R
35 | chmod 775 /var/www/websig/lizmap/www -R
36 | chown :www-data /var/www/websig/lizmap/var -R
37 | chmod 775 /var/www/websig/lizmap/var -R
38 | /var/www/websig/lizmap/install/set_rights.sh www-data www-data
39 | cp -avr /var/www/websig/lizmap/var var/www/websig/lizmap/var_install
40 |
--------------------------------------------------------------------------------
/arm_32/files/start.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #generate config file
4 |
5 | VAR="/var/www/websig/lizmap/var/config"
6 |
7 | if [ ! -d $VAR ]; then
8 | echo "Creating Config file in /var"
9 | cp -avr /var/www/websig/lizmap/var_install/* /var/www/websig/lizmap/var
10 | fi
11 |
12 | #set-rights
13 | /var/www/websig/lizmap/install/set_rights.sh www-data www-data
14 |
15 | # Apache gets grumpy about PID files pre-existing
16 | rm -f /var/run/apache2/apache2.pid
17 |
18 | exec /usr/sbin/apachectl -D FOREGROUND
19 |
--------------------------------------------------------------------------------
/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.2'
2 | services:
3 | nginx:
4 | image: nginx:1
5 | volumes:
6 | - ./lizmap/nginx/nginx.conf:/etc/nginx/nginx.conf
7 | - ./lizmap/lizmap_var/srv_lizmap:/srv/lizmap
8 | lizmap:
9 | image: 3liz/lizmap-web-client:3.3.3
10 | command:
11 | - php-fpm
12 | environment:
13 | LIZMAP_WPS_URL: http://wps:8080/
14 | LIZMAP_CACHESTORAGETYPE: sqlite
15 | LIZMAP_CACHEREDISDB: '1'
16 | LIZMAP_USER: '1010'
17 | LIZMAP_WMSSERVERURL: http://qgiserver:8080/ows/
18 | LIZMAP_CACHEREDISHOST: redis
19 | LIZMAP_HOME: /srv/lizmap
20 | PHP_INI: \r post_max_size = 50M \n
21 | upload_max_filesize = 10M
22 | # entrypoint: >
23 | # sh -c " chown -R 1010:1010 /tmp && /bin/lizmap-entrypoint.sh"
24 | expose:
25 | - 9000
26 | volumes:
27 | - ./lizmap/projects:/srv/projects
28 | - ./lizmap/var/lizmap-theme-config:/www/lizmap/var/lizmap-theme-config
29 | - ./lizmap/var/lizmap-config:/www/lizmap/var/config
30 | - ./lizmap/var/lizmap-db:/www/lizmap/var/db
31 | - ./lizmap/www:/www/lizmap/www
32 | - ./lizmap/var/log/lizmap:/www/lizmap/var/log
33 | #sudo chown -R 1010:1010 ./lizmap/qgiscache
34 | - ./lizmap/qgiscache:/tmp
35 | restart: unless-stopped
36 | qgiserver:
37 | image: 3liz/qgis-map-server:3.4
38 | environment:
39 | PGSERVICEFILE: /srv/etc/pg_service.conf
40 | QGSRV_CACHE_ROOTDIR: /srv/projects
41 | QGSRV_SERVER_WORKERS: 4
42 | QGSRV_CACHE_SIZE: '20'
43 | QGSRV_LOGGING_LEVEL: DEBUG
44 | QGSRV_USER: 1000:1000
45 | ROUTER_HOST: map
46 | QGSRV_ZMQ_IDENTITY: OWS-SERVER
47 | QGSRV_ZMQ_INADDR: tcp://*:18080
48 | QGSRV_ZMQ_MAXQUEUE: 1000
49 | QGSRV_ZMQ_TIMEOUT: 15000
50 | LIBGL_DEBUG: verbose glxinfo
51 | volumes:
52 | - ./lizmap/projects:/srv/projects
53 | - ./lizmap/etc:/srv/etc:ro
54 | - ./lizmap/processing/__workdir__:/srv/data
55 | restart: unless-stopped
56 | expose:
57 | - 8080
58 | - 18080
59 | redis:
60 | image: redis:4
61 | restart: always
62 | volumes:
63 | - ./lizmap/redis4:/data
64 | expose:
65 | - 6379
66 |
--------------------------------------------------------------------------------
/files/apache.conf:
--------------------------------------------------------------------------------
1 |
2 | # The ServerName directive sets the request scheme, hostname and port that
3 | # the server uses to identify itself. This is used when creating
4 | # redirection URLs. In the context of virtual hosts, the ServerName
5 | # specifies what hostname must appear in the request's Host: header to
6 | # match this virtual host. For the default virtual host (this file) this
7 | # value is not decisive as it is used as a last resort host regardless.
8 | # However, you must set it for any further virtual host explicitly.
9 | #ServerName www.example.com
10 |
11 | ServerAdmin webmaster@localhost
12 | DocumentRoot /var/www
13 |
14 | # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
15 | # error, crit, alert, emerg.
16 | # It is also possible to configure the loglevel for particular
17 | # modules, e.g.
18 | #LogLevel info ssl:warn
19 |
20 | ErrorLog ${APACHE_LOG_DIR}/error.log
21 | CustomLog ${APACHE_LOG_DIR}/access.log combined
22 |
23 | # For most configuration files from conf-available/, which are
24 | # enabled or disabled at a global level, it is possible to
25 | # include a line for only one particular virtual host. For example the
26 | # following line enables the CGI configuration for this host only
27 | # after it has been globally disabled with "a2disconf".
28 | #Include conf-available/serve-cgi-bin.conf
29 |
30 | ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
31 |
32 | Options ExecCGI FollowSymLinks
33 | Require all granted
34 | AddHandler fcgid-script .fcgi
35 |
36 |
37 |
38 |
39 | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
40 |
--------------------------------------------------------------------------------
/files/apache2.conf:
--------------------------------------------------------------------------------
1 | # This is the main Apache server configuration file. It contains the
2 | # configuration directives that give the server its instructions.
3 | # See http://httpd.apache.org/docs/2.4/ for detailed information about
4 | # the directives and /usr/share/doc/apache2/README.Debian about Debian specific
5 | # hints.
6 | #
7 | #
8 | # Summary of how the Apache 2 configuration works in Debian:
9 | # The Apache 2 web server configuration in Debian is quite different to
10 | # upstream's suggested way to configure the web server. This is because Debian's
11 | # default Apache2 installation attempts to make adding and removing modules,
12 | # virtual hosts, and extra configuration directives as flexible as possible, in
13 | # order to make automating the changes and administering the server as easy as
14 | # possible.
15 |
16 | # It is split into several files forming the configuration hierarchy outlined
17 | # below, all located in the /etc/apache2/ directory:
18 | #
19 | # /etc/apache2/
20 | # |-- apache2.conf
21 | # | `-- ports.conf
22 | # |-- mods-enabled
23 | # | |-- *.load
24 | # | `-- *.conf
25 | # |-- conf-enabled
26 | # | `-- *.conf
27 | # `-- sites-enabled
28 | # `-- *.conf
29 | #
30 | #
31 | # * apache2.conf is the main configuration file (this file). It puts the pieces
32 | # together by including all remaining configuration files when starting up the
33 | # web server.
34 | #
35 | # * ports.conf is always included from the main configuration file. It is
36 | # supposed to determine listening ports for incoming connections which can be
37 | # customized anytime.
38 | #
39 | # * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
40 | # directories contain particular configuration snippets which manage modules,
41 | # global configuration fragments, or virtual host configurations,
42 | # respectively.
43 | #
44 | # They are activated by symlinking available configuration files from their
45 | # respective *-available/ counterparts. These should be managed by using our
46 | # helpers a2enmod/a2dismod, a2ensite/a2dissite and a2enconf/a2disconf. See
47 | # their respective man pages for detailed information.
48 | #
49 | # * The binary is called apache2. Due to the use of environment variables, in
50 | # the default configuration, apache2 needs to be started/stopped with
51 | # /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not
52 | # work with the default configuration.
53 |
54 |
55 | # Global configuration
56 | #
57 |
58 | #
59 | # ServerRoot: The top of the directory tree under which the server's
60 | # configuration, error, and log files are kept.
61 | #
62 | # NOTE! If you intend to place this on an NFS (or otherwise network)
63 | # mounted filesystem then please read the Mutex documentation (available
64 | # at );
65 | # you will save yourself a lot of trouble.
66 | #
67 | # Do NOT add a slash at the end of the directory path.
68 | #
69 | #ServerRoot "/etc/apache2"
70 |
71 | #
72 | # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
73 | #
74 | Mutex file:${APACHE_LOCK_DIR} default
75 |
76 | #
77 | # PidFile: The file in which the server should record its process
78 | # identification number when it starts.
79 | # This needs to be set in /etc/apache2/envvars
80 | #
81 | PidFile ${APACHE_PID_FILE}
82 |
83 | #
84 | # Timeout: The number of seconds before receives and sends time out.
85 | #
86 | Timeout 300
87 |
88 | #
89 | # KeepAlive: Whether or not to allow persistent connections (more than
90 | # one request per connection). Set to "Off" to deactivate.
91 | #
92 | KeepAlive On
93 |
94 | #
95 | # MaxKeepAliveRequests: The maximum number of requests to allow
96 | # during a persistent connection. Set to 0 to allow an unlimited amount.
97 | # We recommend you leave this number high, for maximum performance.
98 | #
99 | MaxKeepAliveRequests 100
100 |
101 | #
102 | # KeepAliveTimeout: Number of seconds to wait for the next request from the
103 | # same client on the same connection.
104 | #
105 | KeepAliveTimeout 5
106 |
107 |
108 | # These need to be set in /etc/apache2/envvars
109 | User ${APACHE_RUN_USER}
110 | Group ${APACHE_RUN_GROUP}
111 |
112 | #
113 | # HostnameLookups: Log the names of clients or just their IP addresses
114 | # e.g., www.apache.org (on) or 204.62.129.132 (off).
115 | # The default is off because it'd be overall better for the net if people
116 | # had to knowingly turn this feature on, since enabling it means that
117 | # each client request will result in AT LEAST one lookup request to the
118 | # nameserver.
119 | #
120 | HostnameLookups Off
121 |
122 | # ErrorLog: The location of the error log file.
123 | # If you do not specify an ErrorLog directive within a
124 | # container, error messages relating to that virtual host will be
125 | # logged here. If you *do* define an error logfile for a
126 | # container, that host's errors will be logged there and not here.
127 | #
128 | ErrorLog ${APACHE_LOG_DIR}/error.log
129 |
130 | #
131 | # LogLevel: Control the severity of messages logged to the error_log.
132 | # Available values: trace8, ..., trace1, debug, info, notice, warn,
133 | # error, crit, alert, emerg.
134 | # It is also possible to configure the log level for particular modules, e.g.
135 | # "LogLevel info ssl:warn"
136 | #
137 | LogLevel warn
138 |
139 | # Include module configuration:
140 | IncludeOptional mods-enabled/*.load
141 | IncludeOptional mods-enabled/*.conf
142 |
143 | # Include list of ports to listen on
144 | Include ports.conf
145 |
146 |
147 | # Sets the default security model of the Apache2 HTTPD server. It does
148 | # not allow access to the root filesystem outside of /usr/share and /var/www.
149 | # The former is used by web applications packaged in Debian,
150 | # the latter may be used for local directories served by the web server. If
151 | # your system is serving content from a sub-directory in /srv you must allow
152 | # access here, or in any related virtual host.
153 |
154 | Options FollowSymLinks
155 | AllowOverride None
156 | Require all denied
157 |
158 |
159 |
160 | AllowOverride None
161 | Require all granted
162 |
163 |
164 |
165 | Options Indexes FollowSymLinks
166 | AllowOverride None
167 | Require all granted
168 | Options -Indexes
169 |
170 |
171 | #
172 | # Options Indexes FollowSymLinks
173 | # AllowOverride None
174 | # Require all granted
175 | #
176 |
177 |
178 |
179 |
180 | # AccessFileName: The name of the file to look for in each directory
181 | # for additional configuration directives. See also the AllowOverride
182 | # directive.
183 | #
184 | AccessFileName .htaccess
185 |
186 | #
187 | # The following lines prevent .htaccess and .htpasswd files from being
188 | # viewed by Web clients.
189 | #
190 |
191 | Require all denied
192 |
193 |
194 |
195 | #
196 | # The following directives define some format nicknames for use with
197 | # a CustomLog directive.
198 | #
199 | # These deviate from the Common Log Format definitions in that they use %O
200 | # (the actual bytes sent including headers) instead of %b (the size of the
201 | # requested file), because the latter makes it impossible to detect partial
202 | # requests.
203 | #
204 | # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
205 | # Use mod_remoteip instead.
206 | #
207 | LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
208 | LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
209 | LogFormat "%h %l %u %t \"%r\" %>s %O" common
210 | LogFormat "%{Referer}i -> %U" referer
211 | LogFormat "%{User-agent}i" agent
212 |
213 | # Include of directories ignores editors' and dpkg's backup files,
214 | # see README.Debian for details.
215 |
216 | # Include generic snippets of statements
217 | IncludeOptional conf-enabled/*.conf
218 |
219 | # Include the virtual host configurations:
220 | IncludeOptional sites-enabled/*.conf
221 |
222 | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
223 |
224 |
225 | StartServers 4
226 | MinSpareThreads 25
227 | MaxSpareThreads 100
228 | ThreadLimit 64
229 | ThreadsPerChild 25
230 | MaxClients 150
231 | MaxRequestsPerChild 0
232 |
233 |
--------------------------------------------------------------------------------
/files/apache_https.conf:
--------------------------------------------------------------------------------
1 |
2 |
3 | ServerAdmin webmaster@localhost
4 |
5 | DocumentRoot /var/www
6 |
7 | ErrorLog ${APACHE_LOG_DIR}/error.log
8 | CustomLog ${APACHE_LOG_DIR}/access.log combined
9 |
10 | SSLEngine on
11 |
12 | SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
13 | SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
14 |
15 |
16 |
17 | SSLOptions +StdEnvVars
18 |
19 |
20 | SSLOptions +StdEnvVars
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/files/fcgid.conf:
--------------------------------------------------------------------------------
1 |
2 | # this file will overwrite default file: /etc/apache2/mods-available/fcgid.conf
3 |
4 |
5 | AddHandler fcgid-script .fcgi
6 | FcgidConnectTimeout 300
7 | FcgidIOTimeout 300
8 | FcgidMaxProcessesPerClass 50
9 | FcgidMinProcessesPerClass 20
10 | FcgidMaxRequestsPerProcess 500
11 | IdleTimeout 300
12 | BusyTimeout 300
13 | FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH /tmp/auth/db/
14 | FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE /tmp/auth/master/qgis_auth_master_password.txt
15 |
16 |
17 |
--------------------------------------------------------------------------------
/files/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/files/jauth.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jancelin/docker-lizmap/653fc2069687e3147098c2163be2e6a7338b6a78/files/jauth.db
--------------------------------------------------------------------------------
/files/lizmapConfig.ini.php:
--------------------------------------------------------------------------------
1 | ;
2 | ;for security reasons , don't remove or modify the first line
3 |
4 | ;Services
5 | ;list the different map services (servers, generic parameters, etc.)
6 | [services]
7 | wmsServerURL="http://qgiserver/cgi-bin/qgis_mapserv.fcgi"
8 | ;List of URL available for the web client
9 | onlyMaps=off
10 | cacheStorageType=redis
11 | ;cacheStorageType=sqlite => store cached images in one sqlite file per repo/project/layer
12 | ;cacheStorageType=file => store cached images in one folder per repo/project/layer. The root folder is /tmp/
13 | cacheRedisHost=redisD
14 | cacheRedisPort=6379
15 | cacheExpiration=0
16 | ; default cache expiration : the default time to live of data, in seconds.
17 | ; 0 means no expiration, max : 2592000 seconds (30 days)
18 | proxyMethod=php
19 | ; php -> use the built in file_get_contents method
20 | ; curl-> use curl. It must be installed.
21 | debugMode=1
22 | ; debug mode
23 | ; on = print debug messages in lizmap/var/log/messages.log
24 | ; off = no lizmap debug messages
25 | cacheRootDirectory="/tmp/"
26 | ; cache root directory where cache files will be stored
27 | ; must be writable
28 |
29 | ; path to find repositories
30 | ; rootRepositories="path"
31 | ; Does the server use relative path from root folder? 0/1
32 | ; relativeWMSPath=0
33 |
34 |
35 | appName=Lizmap
36 | qgisServerVersion=2.18
37 | wmsMaxWidth=3000
38 | wmsMaxHeight=3000
39 | relativeWMSPath=0
40 | cacheRedisDb=1
41 | cacheRedisKeyPrefix=a
42 |
43 | [repository:demo]
44 | label=Demo
45 | path="/home/geopoppy_pc"
46 | allowUserDefinedThemes=1
47 |
--------------------------------------------------------------------------------
/files/localconfig.ini.php:
--------------------------------------------------------------------------------
1 | ;
2 | ;for security reasons , don't remove or modify the first line
3 |
4 | ; put here configuration variables that are specific to this installation
5 |
6 |
7 | ; chmod for files created by Lizmap and Jelix
8 | ;chmodFile=0664
9 | ;chmodDir=0775
10 |
11 |
12 |
13 | [modules]
14 | ;; uncomment it if you want to use ldap for authentication
15 | ;; see documentation to complete the ldap configuration
16 | ;ldapdao.access=1
17 |
18 |
19 | [coordplugin_auth]
20 | ;; uncomment it if you want to use ldap for authentication
21 | ;; see documentation to complete the ldap configuration
22 | ;driver=ldapdao
23 |
24 | [urlengine]
25 | checkHttpsOnParsing = off
26 | forceProxyProtocol = https
27 |
28 |
--------------------------------------------------------------------------------
/files/mod_deflate.conf:
--------------------------------------------------------------------------------
1 |
2 | # Insérer le filtre
3 | SetOutputFilter DEFLATE
4 | # Netscape 4.x rencontre quelques problèmes...
5 | BrowserMatch ^Mozilla/4 gzip-only-text/html
6 | # Netscape 4.06-4.08 rencontre encore plus de problèmes
7 | BrowserMatch ^Mozilla/4\.0[678] no-gzip
8 | # MSIE se fait passer pour Netscape, mais tout va bien
9 | BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
10 | # Ne pas compresser les images
11 | SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
12 | # S'assurer que les serveurs mandataires délivrent le bon contenu
13 | Header append Vary User-Agent env=!dont-vary
14 |
15 |
--------------------------------------------------------------------------------
/files/php.conf:
--------------------------------------------------------------------------------
1 |
2 | AddHandler fcgid-script .php
3 | FCGIWrapper /usr/lib/cgi-bin/php5 .php
4 | Options ExecCGI FollowSymlinks Indexes
5 |
6 |
7 |
8 | AddHandler fcgid-script .php
9 | FCGIWrapper /usr/lib/cgi-bin/php5 .php
10 | Options +ExecCGI
11 | allow from all
12 |
13 |
--------------------------------------------------------------------------------
/files/qgis/helloWorld.qgs:
--------------------------------------------------------------------------------
1 |
2 |
3 | helloWorld
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | meters
27 |
28 | -14039290.93485941551625729
29 | -6029228.09191410336643457
30 | 18242521.59806802868843079
31 | 18375855.26019070670008659
32 |
33 | 0
34 | 1
35 |
36 |
37 | +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs
38 | 3857
39 | 3857
40 | EPSG:3857
41 | WGS 84 / Pseudo Mercator
42 | merc
43 | WGS84
44 | false
45 |
46 |
47 | 0
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 | brouillon_ligne20180320144651423
58 | brouillon_poly20180320144652507
59 | brouillon_point20180320144652972
60 | var120180320154917782
61 | var220180320154918240
62 |
63 |
64 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 | 139124.83343025398789905
126 | 6289672.19573212973773479
127 | 1220343.3699961700476706
128 | 7481673.52876138966530561
129 |
130 | brouillon_ligne20180320144651423
131 | dbname='geopoppy' host=postgis port=5432 user='docker' password='docker' sslmode=disable key='id' srid=2154 type=LineString table="public"."brouillon_ligne" (geom) sql=
132 |
133 |
134 |
135 | brouillon_ligne
136 |
137 |
138 | +proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
139 | 145
140 | 2154
141 | EPSG:2154
142 | RGF93 / Lambert-93
143 | lcc
144 | GRS80
145 | false
146 |
147 |
148 | postgres
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 | 0
339 | 0
340 | 0
341 | name
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 | .
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 | .
412 |
413 | 0
414 | .
415 |
431 | 0
432 | generatedlayout
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 | -422981.65625
449 | 6248613
450 | 1031679.125
451 | 7197322.5
452 |
453 | brouillon_point20180320144652972
454 | dbname='geopoppy' host=postgis port=5432 user='docker' password='docker' sslmode=disable key='id' srid=2154 type=Point table="public"."brouillon_point" (geom) sql=
455 |
456 |
457 |
458 | brouillon_point
459 |
460 |
461 | +proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
462 | 145
463 | 2154
464 | EPSG:2154
465 | RGF93 / Lambert-93
466 | lcc
467 | GRS80
468 | false
469 |
470 |
471 | postgres
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 |
561 |
562 |
563 |
564 |
565 |
566 |
567 |
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
592 |
593 |
594 |
595 |
596 |
597 |
598 |
599 |
600 |
601 |
602 |
603 |
604 |
605 |
606 |
607 |
608 |
609 |
610 |
611 |
612 |
613 |
614 |
615 |
616 |
617 |
618 |
619 |
620 |
621 |
622 |
623 |
624 |
625 |
626 |
627 |
628 |
629 |
630 |
631 |
632 |
633 |
634 |
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 |
649 |
650 |
651 |
652 |
653 |
654 |
655 |
656 |
657 |
658 |
659 |
660 |
661 |
662 |
663 |
664 | 0
665 | 0
666 | 0
667 | name
668 |
669 |
670 |
671 |
672 |
673 |
674 |
675 |
676 |
677 |
678 |
679 |
680 |
681 |
682 |
683 |
684 |
685 |
686 |
687 |
688 |
689 |
690 |
691 |
692 |
693 |
694 |
695 |
696 |
697 |
698 |
699 |
700 |
701 |
702 |
703 |
704 |
705 |
706 |
707 |
708 |
709 |
710 |
711 |
712 |
713 |
714 |
715 |
716 |
717 |
718 | .
719 |
720 |
721 |
722 |
723 |
724 |
725 |
726 |
727 |
728 |
729 |
730 |
731 |
732 |
733 |
734 |
735 |
736 |
737 | .
738 |
739 | 0
740 | .
741 |
757 | 0
758 | generatedlayout
759 |
760 |
761 |
762 |
763 |
764 |
765 |
766 |
767 |
768 |
769 |
770 |
771 |
772 |
773 |
774 | -155618.71886400401126593
775 | 6281087.12174491956830025
776 | 766962.29568241897504777
777 | 6798963.46789960004389286
778 |
779 | brouillon_poly20180320144652507
780 | dbname='geopoppy' host=postgis port=5432 user='docker' password='docker' sslmode=disable key='id' srid=2154 type=Polygon table="public"."brouillon_poly" (geom) sql=
781 |
782 |
783 |
784 | brouillon_poly
785 |
786 |
787 | +proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
788 | 145
789 | 2154
790 | EPSG:2154
791 | RGF93 / Lambert-93
792 | lcc
793 | GRS80
794 | false
795 |
796 |
797 | postgres
798 |
799 |
800 |
801 |
802 |
803 |
804 |
805 |
806 |
807 |
808 |
809 |
810 |
811 |
812 |
813 |
814 |
815 |
816 |
817 |
818 |
819 |
820 |
821 |
822 |
823 |
824 |
825 |
826 |
827 |
828 |
829 |
830 |
831 |
832 |
833 |
834 |
835 |
836 |
837 |
838 |
839 |
840 |
841 |
842 |
843 |
844 |
845 |
846 |
847 |
848 |
849 |
850 |
851 |
852 |
853 |
854 |
855 |
856 |
857 |
858 |
859 |
860 |
861 |
862 |
863 |
864 |
865 |
866 |
867 |
868 |
869 |
870 |
871 |
872 |
873 |
874 |
875 |
876 |
877 |
878 |
879 |
880 |
881 |
882 |
883 |
884 |
885 |
886 |
887 |
888 |
889 |
890 |
891 |
892 |
893 |
894 |
895 |
896 |
897 |
898 |
899 |
900 |
901 |
902 |
903 |
904 |
905 |
906 |
907 |
908 |
909 |
910 |
911 |
912 |
913 |
914 |
915 |
916 |
917 |
918 |
919 |
920 |
921 |
922 |
923 |
924 |
925 |
926 |
927 |
928 |
929 |
930 |
931 |
932 |
933 |
934 |
935 |
936 |
937 |
938 |
939 |
940 |
941 |
942 |
943 |
944 |
945 |
946 |
947 |
948 |
949 |
950 |
951 |
952 |
953 |
954 |
955 |
956 |
957 |
958 |
959 |
960 |
961 |
962 |
963 |
964 |
965 |
966 |
967 |
968 |
969 |
970 |
971 |
972 |
973 |
974 |
975 |
976 |
977 |
978 |
979 |
980 |
981 |
982 |
983 | 0
984 | 0
985 | 0
986 | name
987 |
988 |
989 |
990 |
991 |
992 |
993 |
994 |
995 |
996 |
997 |
998 |
999 |
1000 |
1001 |
1002 |
1003 |
1004 |
1005 |
1006 |
1007 |
1008 |
1009 |
1010 |
1011 |
1012 |
1013 |
1014 |
1015 |
1016 |
1017 |
1018 |
1019 |
1020 |
1021 |
1022 |
1023 |
1024 |
1025 |
1026 |
1027 |
1028 |
1029 |
1030 |
1031 |
1032 |
1033 |
1034 |
1035 |
1036 |
1037 | .
1038 |
1039 |
1040 |
1041 |
1042 |
1043 |
1044 |
1045 |
1046 |
1047 |
1048 |
1049 |
1050 |
1051 |
1052 |
1053 |
1054 |
1055 |
1056 | .
1057 |
1058 | 0
1059 | .
1060 |
1076 | 0
1077 | generatedlayout
1078 |
1079 |
1080 |
1081 |
1082 |
1083 |
1084 |
1085 |
1086 |
1087 |
1088 |
1089 |
1090 |
1091 |
1092 | var120180320154917782
1093 | dbname='geopoppy' host=postgis port=5432 user='docker' password='docker' sslmode=disable key='id' table="public"."var1" sql=
1094 |
1095 |
1096 |
1097 | var1
1098 |
1099 |
1100 | +proj=longlat +datum=WGS84 +no_defs
1101 | 3452
1102 | 4326
1103 | EPSG:4326
1104 | WGS 84
1105 | longlat
1106 | WGS84
1107 | true
1108 |
1109 |
1110 |
1111 |
1112 |
1113 |
1114 |
1115 | postgres
1116 |
1117 |
1118 |
1119 |
1120 |
1121 |
1122 |
1123 |
1124 |
1125 |
1126 |
1127 |
1128 |
1129 |
1130 |
1131 |
1132 |
1133 |
1134 |
1135 |
1136 |
1137 |
1138 |
1139 |
1140 |
1141 |
1142 |
1143 |
1144 |
1145 |
1146 |
1147 | 0
1148 |
1149 |
1165 | 0
1166 | generatedlayout
1167 |
1168 |
1169 |
1170 |
1171 |
1172 |
1173 |
1174 |
1175 |
1176 |
1177 |
1178 |
1179 | var220180320154918240
1180 | dbname='geopoppy' host=postgis port=5432 user='docker' password='docker' sslmode=disable key='id' table="public"."var2" sql=
1181 |
1182 |
1183 |
1184 | var2
1185 |
1186 |
1187 | +proj=longlat +datum=WGS84 +no_defs
1188 | 3452
1189 | 4326
1190 | EPSG:4326
1191 | WGS 84
1192 | longlat
1193 | WGS84
1194 | true
1195 |
1196 |
1197 |
1198 |
1199 |
1200 |
1201 |
1202 | postgres
1203 |
1204 |
1205 |
1206 |
1207 |
1208 |
1209 |
1210 |
1211 |
1212 |
1213 |
1214 |
1215 |
1216 |
1217 |
1218 |
1219 |
1220 |
1221 |
1222 |
1223 |
1224 |
1225 |
1226 |
1227 |
1228 |
1229 |
1230 |
1231 |
1232 |
1233 |
1234 | 0
1235 |
1236 |
1252 | 0
1253 | generatedlayout
1254 |
1255 |
1256 |
1257 |
1258 |
1259 |
1260 |
1261 |
1262 |
1263 |
1264 |
1265 |
1266 |
1267 |
1268 |
1269 | +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs
1270 | EPSG:3857
1271 | 3857
1272 | 1
1273 |
1274 |
1275 | meters
1276 | m2
1277 |
1278 |
1281 |
1282 | -15509051.35302524827420712
1283 | -6035619.76164815109223127
1284 | 19712282.01623386517167091
1285 | 18382246.92992475256323814
1286 |
1287 |
1288 |
1289 |
1290 |
1291 | true
1292 | 255
1293 |
1294 |
1295 | intellectualPropertyRights
1296 | false
1297 | julien.ancelin@inra.fr
1298 | 90
1299 |
1300 | 8
1301 | 8
1302 | 8
1303 | 8
1304 | 8
1305 |
1306 |
1307 | helloworld
1308 | Hello World
1309 | 0546821050
1310 |
1311 |
1312 |
1313 |
1314 |
1315 |
1316 |
1317 | no conditions apply
1318 |
1319 |
1320 |
1321 | false
1322 |
1323 |
1324 | 8
1325 |
1326 | EPSG:2154
1327 | EPSG:3857
1328 |
1329 |
1330 | 2
1331 |
1332 | brouillon_ligne20180320144651423
1333 | brouillon_poly20180320144652507
1334 | brouillon_point20180320144652972
1335 |
1336 |
1337 | disabled
1338 | disabled
1339 | disabled
1340 |
1341 | current_layer
1342 |
1343 |
1344 | 2
1345 | 2
1346 | 2
1347 |
1348 |
1349 | to_vertex_and_segment
1350 | to_vertex_and_segment
1351 | to_vertex_and_segment
1352 |
1353 | off
1354 | 0
1355 |
1356 | 0.000000
1357 | 0.000000
1358 | 0.000000
1359 |
1360 |
1361 |
1362 |
1363 |
1364 | Julien ANCELIN
1365 | INRA
1366 |
1367 |
1368 |
1369 |
1370 |
1371 |
1372 |
1373 |
1374 | false
1375 |
1376 | author
1377 |
1378 | 2
1379 | true
1380 | MU
1381 |
1382 |
1383 | 0
1384 | 255
1385 | 255
1386 | 255
1387 | 255
1388 | 255
1389 | 255
1390 |
1391 |
1392 | NONE
1393 |
1394 |
1395 |
1396 | brouillon_ligne20180320144651423
1397 | brouillon_point20180320144652972
1398 | brouillon_poly20180320144652507
1399 | var120180320154917782
1400 | var220180320154918240
1401 |
1402 |
1403 | true
1404 | false
1405 |
1406 |
1407 |
1408 |
--------------------------------------------------------------------------------
/files/qgis/helloWorld.qgs.cfg:
--------------------------------------------------------------------------------
1 | {
2 | "layers": {
3 | "brouillon_poly": {
4 | "abstract": "",
5 | "displayInLegend": "True",
6 | "baseLayer": "False",
7 | "noLegendImage": "False",
8 | "id": "brouillon_poly20180320144652507",
9 | "title": "polygones",
10 | "singleTile": "True",
11 | "geometryType": "polygon",
12 | "groupAsLayer": "False",
13 | "popupTemplate": "",
14 | "popup": "False",
15 | "popupDisplayChildren": "False",
16 | "clientCacheExpiration": 300,
17 | "link": "",
18 | "extent": [
19 | -155618.718864,
20 | 6281087.12174,
21 | 766962.295682,
22 | 6798963.4679
23 | ],
24 | "toggled": "True",
25 | "crs": "EPSG:2154",
26 | "name": "brouillon_poly",
27 | "cached": "False",
28 | "type": "layer",
29 | "maxScale": 1000000000000,
30 | "popupSource": "lizmap",
31 | "imageFormat": "image/png",
32 | "minScale": 1
33 | },
34 | "brouillon_point": {
35 | "abstract": "",
36 | "displayInLegend": "True",
37 | "baseLayer": "False",
38 | "noLegendImage": "False",
39 | "id": "brouillon_point20180320144652972",
40 | "title": "points",
41 | "singleTile": "True",
42 | "geometryType": "point",
43 | "groupAsLayer": "False",
44 | "popupTemplate": "",
45 | "popup": "False",
46 | "popupDisplayChildren": "False",
47 | "clientCacheExpiration": 300,
48 | "link": "",
49 | "extent": [
50 | -422981.65625,
51 | 6248613.0,
52 | 1031679.125,
53 | 7197322.5
54 | ],
55 | "toggled": "True",
56 | "crs": "EPSG:2154",
57 | "name": "brouillon_point",
58 | "cached": "False",
59 | "type": "layer",
60 | "maxScale": 1000000000000,
61 | "popupSource": "lizmap",
62 | "imageFormat": "image/png",
63 | "minScale": 1
64 | },
65 | "brouillon_ligne": {
66 | "abstract": "",
67 | "displayInLegend": "True",
68 | "baseLayer": "False",
69 | "noLegendImage": "False",
70 | "id": "brouillon_ligne20180320144651423",
71 | "title": "lignes",
72 | "singleTile": "True",
73 | "geometryType": "line",
74 | "groupAsLayer": "False",
75 | "popupTemplate": "",
76 | "popup": "False",
77 | "popupDisplayChildren": "False",
78 | "clientCacheExpiration": 300,
79 | "link": "",
80 | "extent": [
81 | 139124.83343,
82 | 6289672.19573,
83 | 1220343.37,
84 | 7481673.52876
85 | ],
86 | "toggled": "True",
87 | "crs": "EPSG:2154",
88 | "name": "brouillon_ligne",
89 | "cached": "False",
90 | "type": "layer",
91 | "maxScale": 1000000000000,
92 | "popupSource": "lizmap",
93 | "imageFormat": "image/png",
94 | "minScale": 1
95 | },
96 | "var1": {
97 | "abstract": "",
98 | "displayInLegend": "True",
99 | "baseLayer": "False",
100 | "noLegendImage": "False",
101 | "id": "var120180320154917782",
102 | "title": "var1",
103 | "singleTile": "True",
104 | "geometryType": "none",
105 | "groupAsLayer": "False",
106 | "popupTemplate": "",
107 | "popup": "False",
108 | "popupDisplayChildren": "False",
109 | "clientCacheExpiration": 300,
110 | "link": "",
111 | "extent": [
112 | 1.79769313486e+308,
113 | 1.79769313486e+308,
114 | -1.79769313486e+308,
115 | -1.79769313486e+308
116 | ],
117 | "toggled": "True",
118 | "crs": "EPSG:4326",
119 | "name": "var1",
120 | "cached": "False",
121 | "type": "layer",
122 | "maxScale": 1000000000000,
123 | "popupSource": "lizmap",
124 | "imageFormat": "image/png",
125 | "minScale": 1
126 | },
127 | "var2": {
128 | "abstract": "",
129 | "displayInLegend": "True",
130 | "baseLayer": "False",
131 | "noLegendImage": "False",
132 | "id": "var220180320154918240",
133 | "title": "var2",
134 | "singleTile": "True",
135 | "geometryType": "none",
136 | "groupAsLayer": "False",
137 | "popupTemplate": "",
138 | "popup": "False",
139 | "popupDisplayChildren": "False",
140 | "clientCacheExpiration": 300,
141 | "link": "",
142 | "extent": [
143 | 1.79769313486e+308,
144 | 1.79769313486e+308,
145 | -1.79769313486e+308,
146 | -1.79769313486e+308
147 | ],
148 | "toggled": "True",
149 | "crs": "EPSG:4326",
150 | "name": "var2",
151 | "cached": "False",
152 | "type": "layer",
153 | "maxScale": 1000000000000,
154 | "popupSource": "lizmap",
155 | "imageFormat": "image/png",
156 | "minScale": 1
157 | }
158 | },
159 | "attributeLayers": {
160 | "brouillon_poly": {
161 | "hiddenFields": "",
162 | "hideAsChild": "False",
163 | "hideLayer": "False",
164 | "order": 1,
165 | "layerId": "brouillon_poly20180320144652507",
166 | "pivot": "False",
167 | "primaryKey": "id"
168 | },
169 | "brouillon_point": {
170 | "hiddenFields": "",
171 | "hideAsChild": "False",
172 | "hideLayer": "False",
173 | "order": 2,
174 | "layerId": "brouillon_point20180320144652972",
175 | "pivot": "False",
176 | "primaryKey": "id"
177 | },
178 | "brouillon_ligne": {
179 | "hiddenFields": "",
180 | "hideAsChild": "False",
181 | "hideLayer": "False",
182 | "order": 0,
183 | "layerId": "brouillon_ligne20180320144651423",
184 | "pivot": "False",
185 | "primaryKey": "id"
186 | },
187 | "var1": {
188 | "hiddenFields": "",
189 | "hideAsChild": "False",
190 | "hideLayer": "False",
191 | "order": 3,
192 | "layerId": "var120180320154917782",
193 | "pivot": "False",
194 | "primaryKey": "id"
195 | },
196 | "var2": {
197 | "hiddenFields": "",
198 | "hideAsChild": "False",
199 | "hideLayer": "False",
200 | "order": 4,
201 | "layerId": "var220180320154918240",
202 | "pivot": "False",
203 | "primaryKey": "id"
204 | }
205 | },
206 | "options": {
207 | "geolocation": "True",
208 | "projection": {
209 | "proj4": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs",
210 | "ref": "EPSG:3857"
211 | },
212 | "popupLocation": "dock",
213 | "initialExtent": [
214 | -14039290.9349,
215 | -7180207.26282,
216 | 18242521.5981,
217 | 19526834.4311
218 | ],
219 | "lineTolerance": 10,
220 | "tmAnimationFrameLength": 1000,
221 | "measure": "True",
222 | "osmMapnik": "True",
223 | "startupBaselayer": "osm-stamen-toner",
224 | "hideGroupCheckbox": "True",
225 | "googleSatellite": "True",
226 | "limitDataToBbox": "True",
227 | "zoomHistory": "True",
228 | "polygonTolerance": 5,
229 | "osmStamenToner": "True",
230 | "mapScales": [
231 | 2000,
232 | 5000,
233 | 10000,
234 | 25000,
235 | 50000,
236 | 100000,
237 | 250000,
238 | 500000,
239 | 1000000,
240 | 100000000
241 | ],
242 | "bbox": [
243 | -15509051.353025248,
244 | -6035619.761648151,
245 | 19712282.016233865,
246 | 18382246.929924753
247 | ],
248 | "hideHeader": "True",
249 | "googleStreets": "True",
250 | "maxScale": 100000000,
251 | "tmTimeFrameType": "seconds",
252 | "tmTimeFrameSize": 10,
253 | "googleTerrain": "True",
254 | "minScale": 2000,
255 | "pointTolerance": 25
256 | },
257 | "editionLayers": {
258 | "brouillon_poly": {
259 | "acl": "",
260 | "geometryType": "polygon",
261 | "order": 1,
262 | "capabilities": {
263 | "modifyGeometry": "True",
264 | "modifyAttribute": "True",
265 | "createFeature": "True",
266 | "deleteFeature": "True"
267 | },
268 | "layerId": "brouillon_poly20180320144652507"
269 | },
270 | "brouillon_point": {
271 | "acl": "",
272 | "geometryType": "point",
273 | "order": 2,
274 | "capabilities": {
275 | "modifyGeometry": "True",
276 | "modifyAttribute": "True",
277 | "createFeature": "True",
278 | "deleteFeature": "True"
279 | },
280 | "layerId": "brouillon_point20180320144652972"
281 | },
282 | "brouillon_ligne": {
283 | "acl": "",
284 | "geometryType": "line",
285 | "order": 0,
286 | "capabilities": {
287 | "modifyGeometry": "True",
288 | "modifyAttribute": "True",
289 | "createFeature": "True",
290 | "deleteFeature": "True"
291 | },
292 | "layerId": "brouillon_ligne20180320144651423"
293 | },
294 | "var1": {
295 | "acl": "",
296 | "geometryType": "none",
297 | "order": 3,
298 | "capabilities": {
299 | "modifyGeometry": "True",
300 | "modifyAttribute": "True",
301 | "createFeature": "True",
302 | "deleteFeature": "False"
303 | },
304 | "layerId": "var120180320154917782"
305 | },
306 | "var2": {
307 | "acl": "",
308 | "geometryType": "none",
309 | "order": 4,
310 | "capabilities": {
311 | "modifyGeometry": "True",
312 | "modifyAttribute": "True",
313 | "createFeature": "True",
314 | "deleteFeature": "False"
315 | },
316 | "layerId": "var220180320154918240"
317 | }
318 | }
319 | }
--------------------------------------------------------------------------------
/files/qgis/helloWorld.qgs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jancelin/docker-lizmap/653fc2069687e3147098c2163be2e6a7338b6a78/files/qgis/helloWorld.qgs.png
--------------------------------------------------------------------------------
/files/qgis/test.qgs.cfg:
--------------------------------------------------------------------------------
1 | {
2 | "layers": {
3 | "analyse_messicole": {
4 | "abstract": "",
5 | "displayInLegend": "True",
6 | "baseLayer": "False",
7 | "noLegendImage": "False",
8 | "id": "analyse_messicole20180319151749966",
9 | "title": "analyse messicole",
10 | "singleTile": "True",
11 | "geometryType": "point",
12 | "groupAsLayer": "False",
13 | "popupTemplate": "",
14 | "popup": "False",
15 | "popupDisplayChildren": "False",
16 | "clientCacheExpiration": 300,
17 | "link": "",
18 | "extent": [
19 | 434213.070188,
20 | 6567399.50551,
21 | 447845.130772,
22 | 6577951.68186
23 | ],
24 | "toggled": "True",
25 | "crs": "EPSG:2154",
26 | "name": "analyse_messicole",
27 | "cached": "False",
28 | "type": "layer",
29 | "maxScale": 1000000000000,
30 | "popupSource": "lizmap",
31 | "imageFormat": "image/png",
32 | "minScale": 1
33 | },
34 | "operateur_utilisateur": {
35 | "abstract": "",
36 | "displayInLegend": "True",
37 | "baseLayer": "False",
38 | "noLegendImage": "False",
39 | "id": "operateur_utilisateur20180319151749998",
40 | "title": "operateur_utilisateur",
41 | "singleTile": "True",
42 | "geometryType": "none",
43 | "groupAsLayer": "False",
44 | "popupTemplate": "",
45 | "popup": "False",
46 | "popupDisplayChildren": "False",
47 | "clientCacheExpiration": 300,
48 | "link": "",
49 | "extent": [
50 | 1.79769313486e+308,
51 | 1.79769313486e+308,
52 | -1.79769313486e+308,
53 | -1.79769313486e+308
54 | ],
55 | "toggled": "True",
56 | "crs": "EPSG:4326",
57 | "name": "operateur_utilisateur",
58 | "cached": "False",
59 | "type": "layer",
60 | "maxScale": 1000000000000,
61 | "popupSource": "lizmap",
62 | "imageFormat": "image/png",
63 | "minScale": 1
64 | },
65 | "t_plante": {
66 | "abstract": "",
67 | "displayInLegend": "True",
68 | "baseLayer": "False",
69 | "noLegendImage": "False",
70 | "id": "t_plante20180319151749982",
71 | "title": "t_plante",
72 | "singleTile": "True",
73 | "geometryType": "none",
74 | "groupAsLayer": "False",
75 | "popupTemplate": "",
76 | "popup": "False",
77 | "popupDisplayChildren": "False",
78 | "clientCacheExpiration": 300,
79 | "link": "",
80 | "extent": [
81 | 1.79769313486e+308,
82 | 1.79769313486e+308,
83 | -1.79769313486e+308,
84 | -1.79769313486e+308
85 | ],
86 | "toggled": "True",
87 | "crs": "EPSG:4326",
88 | "name": "t_plante",
89 | "cached": "False",
90 | "type": "layer",
91 | "maxScale": 1000000000000,
92 | "popupSource": "lizmap",
93 | "imageFormat": "image/png",
94 | "minScale": 1
95 | },
96 | "classe_quantite": {
97 | "abstract": "",
98 | "displayInLegend": "True",
99 | "baseLayer": "False",
100 | "noLegendImage": "False",
101 | "id": "classe_quantite20180319151750007",
102 | "title": "classe_quantite",
103 | "singleTile": "True",
104 | "geometryType": "none",
105 | "groupAsLayer": "False",
106 | "popupTemplate": "",
107 | "popup": "False",
108 | "popupDisplayChildren": "False",
109 | "clientCacheExpiration": 300,
110 | "link": "",
111 | "extent": [
112 | 1.79769313486e+308,
113 | 1.79769313486e+308,
114 | -1.79769313486e+308,
115 | -1.79769313486e+308
116 | ],
117 | "toggled": "True",
118 | "crs": "EPSG:4326",
119 | "name": "classe_quantite",
120 | "cached": "False",
121 | "type": "layer",
122 | "maxScale": 1000000000000,
123 | "popupSource": "lizmap",
124 | "imageFormat": "image/png",
125 | "minScale": 1
126 | },
127 | "t_terrain": {
128 | "abstract": "",
129 | "displayInLegend": "True",
130 | "baseLayer": "False",
131 | "noLegendImage": "False",
132 | "id": "t_terrain20180319151749990",
133 | "title": "t_terrain",
134 | "singleTile": "True",
135 | "geometryType": "none",
136 | "groupAsLayer": "False",
137 | "popupTemplate": "",
138 | "popup": "False",
139 | "popupDisplayChildren": "False",
140 | "clientCacheExpiration": 300,
141 | "link": "",
142 | "extent": [
143 | 1.79769313486e+308,
144 | 1.79769313486e+308,
145 | -1.79769313486e+308,
146 | -1.79769313486e+308
147 | ],
148 | "toggled": "True",
149 | "crs": "EPSG:4326",
150 | "name": "t_terrain",
151 | "cached": "False",
152 | "type": "layer",
153 | "maxScale": 1000000000000,
154 | "popupSource": "lizmap",
155 | "imageFormat": "image/png",
156 | "minScale": 1
157 | },
158 | "code_culture": {
159 | "abstract": "",
160 | "displayInLegend": "True",
161 | "baseLayer": "False",
162 | "noLegendImage": "False",
163 | "id": "code_culture20180319151749975",
164 | "title": "code_culture",
165 | "singleTile": "True",
166 | "geometryType": "none",
167 | "groupAsLayer": "False",
168 | "popupTemplate": "",
169 | "popup": "False",
170 | "popupDisplayChildren": "False",
171 | "clientCacheExpiration": 300,
172 | "link": "",
173 | "extent": [
174 | 1.79769313486e+308,
175 | 1.79769313486e+308,
176 | -1.79769313486e+308,
177 | -1.79769313486e+308
178 | ],
179 | "toggled": "True",
180 | "crs": "EPSG:4326",
181 | "name": "code_culture",
182 | "cached": "False",
183 | "type": "layer",
184 | "maxScale": 1000000000000,
185 | "popupSource": "lizmap",
186 | "imageFormat": "image/png",
187 | "minScale": 1
188 | },
189 | "br_pt": {
190 | "abstract": "",
191 | "displayInLegend": "True",
192 | "baseLayer": "False",
193 | "noLegendImage": "False",
194 | "id": "br_pt20180319151749959",
195 | "title": "brouillon point",
196 | "singleTile": "True",
197 | "geometryType": "point",
198 | "groupAsLayer": "False",
199 | "popupTemplate": "",
200 | "popup": "False",
201 | "popupDisplayChildren": "False",
202 | "clientCacheExpiration": 300,
203 | "link": "",
204 | "extent": [
205 | 380921.21484,
206 | 6569661.19458,
207 | 380921.21484,
208 | 6569661.19458
209 | ],
210 | "toggled": "True",
211 | "crs": "EPSG:2154",
212 | "name": "br_pt",
213 | "cached": "False",
214 | "type": "layer",
215 | "maxScale": 1000000000000,
216 | "popupSource": "lizmap",
217 | "imageFormat": "image/png",
218 | "minScale": 1
219 | },
220 | "inventaire_gps": {
221 | "abstract": "",
222 | "displayInLegend": "True",
223 | "baseLayer": "False",
224 | "noLegendImage": "False",
225 | "id": "inventaire_gps20180319151749951",
226 | "title": "inventaire messicole",
227 | "singleTile": "True",
228 | "geometryType": "point",
229 | "groupAsLayer": "False",
230 | "popupTemplate": "",
231 | "popup": "False",
232 | "popupDisplayChildren": "False",
233 | "clientCacheExpiration": 300,
234 | "link": "",
235 | "extent": [
236 | 434144.90625,
237 | 6567346.5,
238 | 447913.3125,
239 | 6578005.0
240 | ],
241 | "toggled": "True",
242 | "crs": "EPSG:2154",
243 | "name": "inventaire_gps",
244 | "cached": "False",
245 | "type": "layer",
246 | "maxScale": 1000000000000,
247 | "popupSource": "lizmap",
248 | "imageFormat": "image/png",
249 | "minScale": 1
250 | }
251 | },
252 | "editionLayers": {
253 | "br_pt": {
254 | "acl": "",
255 | "geometryType": "point",
256 | "order": 0,
257 | "capabilities": {
258 | "modifyGeometry": "True",
259 | "modifyAttribute": "True",
260 | "createFeature": "True",
261 | "deleteFeature": "True"
262 | },
263 | "layerId": "br_pt20180319151749959"
264 | },
265 | "inventaire_gps": {
266 | "acl": "",
267 | "geometryType": "point",
268 | "order": 1,
269 | "capabilities": {
270 | "modifyGeometry": "True",
271 | "modifyAttribute": "True",
272 | "createFeature": "True",
273 | "deleteFeature": "True"
274 | },
275 | "layerId": "inventaire_gps20180319151749951"
276 | }
277 | },
278 | "options": {
279 | "geolocation": "True",
280 | "projection": {
281 | "proj4": "+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs",
282 | "ref": "EPSG:2154"
283 | },
284 | "popupLocation": "dock",
285 | "initialExtent": [
286 | 426425.90567436937,
287 | 6558041.378299507,
288 | 456633.38487184764,
289 | 6584748.419993415
290 | ],
291 | "lineTolerance": 10,
292 | "tmAnimationFrameLength": 1000,
293 | "measure": "True",
294 | "osmMapnik": "True",
295 | "startupBaselayer": "osm-mapnik",
296 | "hideGroupCheckbox": "True",
297 | "googleSatellite": "True",
298 | "zoomHistory": "True",
299 | "polygonTolerance": 5,
300 | "osmStamenToner": "True",
301 | "mapScales": [
302 | 5000,
303 | 10000,
304 | 25000,
305 | 50000,
306 | 100000
307 | ],
308 | "bbox": [
309 | 426425.90567436937,
310 | 6558041.378299507,
311 | 456633.38487184764,
312 | 6584748.419993415
313 | ],
314 | "hideHeader": "True",
315 | "maxScale": 100000,
316 | "tmTimeFrameType": "seconds",
317 | "tmTimeFrameSize": 10,
318 | "minScale": 5000,
319 | "pointTolerance": 25
320 | }
321 | }
--------------------------------------------------------------------------------
/files/qgis/test.qgs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jancelin/docker-lizmap/653fc2069687e3147098c2163be2e6a7338b6a78/files/qgis/test.qgs.png
--------------------------------------------------------------------------------
/files/setup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -x
3 |
4 | mkdir /etc/apache2/ssl
5 | /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem
6 | /usr/sbin/a2ensite default-ssl
7 |
8 | mv /home/files/php.conf /etc/apache2/conf-available/php.conf
9 | mv /home/files/apache2.conf /etc/apache2/apache2.conf
10 | rm -v /etc/apache2/mods-enabled/fcgid.conf
11 | mv /home/files/fcgid.conf /etc/apache2/mods-enabled/fcgid.conf
12 | mv /home/files/mod_deflate.conf /etc/apache2/conf-available/mod_deflate.conf
13 | mv /home/files/apache_https.conf /etc/apache2/sites-available/default-ssl.conf
14 | mv /home/files/apache.conf /etc/apache2/sites-available/000-default.conf
15 | mv /home/files/index.html /var/www/index.html
16 | mv /home/files/start.sh /start.sh
17 | chmod 0755 /start.sh
18 |
19 | # unzip lizmap master
20 | unzip /var/www/$LIZMAPVERSION.zip -d /var/www/
21 | mv /var/www/lizmap-web-client-$LIZMAPVERSION/ /var/www/websig/
22 | rm /var/www/$LIZMAPVERSION.zip
23 | # Set rights & active config
24 | chmod +x /var/www/websig/lizmap/install/set_rights.sh
25 | /var/www/websig/lizmap/install/set_rights.sh www-data www-data
26 | cp /home/files/lizmapConfig.ini.php /var/www/websig/lizmap/var/config/lizmapConfig.ini.php
27 | cp /home/files/localconfig.ini.php /var/www/websig/lizmap/var/config/localconfig.ini.php
28 | cp /var/www/websig/lizmap/var/config/profiles.ini.php.dist /var/www/websig/lizmap/var/config/profiles.ini.php
29 | # Installer
30 | php /var/www/websig/lizmap/install/installer.php
31 | #change jauth.db
32 | cp /home/files/jauth.db /var/www/websig/lizmap/var/db/jauth.db
33 | # Set rights
34 | chown :www-data /var/www/websig/lizmap/www -R
35 | chmod 775 /var/www/websig/lizmap/www -R
36 | chown :www-data /var/www/websig/lizmap/var -R
37 | chmod 775 /var/www/websig/lizmap/var -R
38 | /var/www/websig/lizmap/install/set_rights.sh www-data www-data
39 | cp -avr /var/www/websig/lizmap/var var/www/websig/lizmap/var_install
40 |
--------------------------------------------------------------------------------
/files/start.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #generate config file
4 |
5 | VAR="/var/www/websig/lizmap/var/config"
6 |
7 | if [ ! -d $VAR ]; then
8 | echo "Creating Config file in /var"
9 | cp -avr /var/www/websig/lizmap/var_install/* /var/www/websig/lizmap/var
10 | fi
11 |
12 | #set-rights
13 | /var/www/websig/lizmap/install/set_rights.sh www-data www-data
14 |
15 | # Apache gets grumpy about PID files pre-existing
16 | rm -f /var/run/apache2/apache2.pid
17 |
18 | exec /usr/sbin/apachectl -D FOREGROUND
19 |
--------------------------------------------------------------------------------
/nginx.conf:
--------------------------------------------------------------------------------
1 | user www-data;
2 | worker_processes 4;
3 | error_log /var/log/nginx/error.log;
4 | pid /var/run/nginx.pid;
5 | events {
6 | worker_connections 1024;
7 | }
8 |
9 | http {
10 | include /etc/nginx/mime.types;
11 | default_type application/octet-stream;
12 |
13 | log_format main '$remote_addr - $remote_user [$time_local] "$request" '
14 | '$status $body_bytes_sent "$http_referer" '
15 | '"$http_user_agent" "$http_x_forwarded_for"';
16 | access_log /var/log/nginx/access.log main;
17 |
18 | sendfile on;
19 | tcp_nopush on;
20 | tcp_nodelay on;
21 | types_hash_max_size 2048;
22 | keepalive_timeout 65;
23 | gzip on;
24 | gzip_disable "msie6";
25 | gzip_vary on;
26 | gzip_proxied any;
27 | gzip_comp_level 6; # 1 par défaut (le plus bas), 9 étant le plus élevé
28 | gzip_buffers 16 8k;
29 | gzip_http_version 1.1;
30 | gzip_min_length 256; # taille minimale du fichier à compresser
31 | gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/rss+xml text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/jpeg image/png image/svg+xml image/x-icon; # la directive ci-dessus permet de lister les types de fichier à compresser
32 | client_max_body_size 50M;
33 |
34 | # ssl_certificate /etc/nginx/cert.crt;
35 | # ssl_certificate_key /etc/nginx/cert.key;
36 | # ssl_ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH;
37 | # ssl_protocols TLSv1.1 TLSv1.2;
38 |
39 | server {
40 | listen 80;
41 | listen [::]:80;
42 | server_name lizmap.local;
43 |
44 | root /srv/lizmap/www;
45 | index index.html index.php;
46 |
47 | access_log /var/log/nginx/lizmap_access.log;
48 | error_log /var/log/nginx/lizmap_error.log;
49 |
50 | # URI resolved to web sub directory
51 | # and found a index.php file here
52 | location ~* /(\w+/)?\w+\.php {
53 |
54 | fastcgi_split_path_info ^(.+\.php)(/.+)$;
55 | set $path_info $fastcgi_path_info; # because of bug http://trac.nginx.org/nginx/ticket/321
56 |
57 | try_files $fastcgi_script_name =404;
58 | include fastcgi_params;
59 |
60 | fastcgi_index index.php;
61 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
62 | fastcgi_param SERVER_NAME $http_host;
63 | fastcgi_param PATH_INFO $path_info;
64 | fastcgi_param PATH_TRANSLATED $document_root$path_info;
65 | fastcgi_pass lizmap:9000;
66 | }
67 | }
68 | }
69 |
--------------------------------------------------------------------------------