-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
5,779 additions
and
5,700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# CiteLibre Service'EZ | ||
Ce repository héberge tout le code source requis pour lancer une application CiteLibre Service'EZ locale complète. | ||
|
||
CiteLibre Service'EZ vous permet de mettre en place facilement vos formulaires de démarches en ligne pour vos usagers : demandes liées à l'état civil, contact spontané, questions aux services usagers ou techniques... profitez des formulaires déjà prêts à l'emploi, faites les évoluer à votre guise selon vos besoins, et créez-en de nouveaux librement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,83 @@ | ||
# serviceEZ | ||
This repository will soon host all new source code required to launch a full-featured local CiteLibre Forms application | ||
<p align="center"> | ||
<img src="./utils/CiteLibre.svg" alt="CiteLibre logo"/> | ||
</p> | ||
|
||
# CiteLibre Service'EZ with docker-compose | ||
|
||
## Table of contents | ||
|
||
- [Architecture](#architecture) | ||
- [Getting started](#getting-started) | ||
- [URL and default login](#url-and-default-login) | ||
- [Helpful commands](#helpful-commands) | ||
- [Optional services](#optional-services) | ||
- [Matomo](#matomo) | ||
- [Production usage](#production-usage) | ||
|
||
You can find more information in the [Wiki](https://github.com/citelibre/CiteLibreEZ/wiki) (persistant data, dev mode, edit theme, etc) | ||
|
||
## Architecture | ||
Architecture with embedded database and stmp server | ||
|
||
![CiteLibre architecture diagram](./utils/CiteLibre-EZ-docker.svg "CiteLibre architecture") | ||
|
||
## Getting started | ||
|
||
If you are behind a proxy : | ||
|
||
1. Start the `CiteLibre` service (and any others) in background: | ||
|
||
```bash | ||
docker-compose up -d | ||
``` | ||
|
||
In interactive : | ||
|
||
```bash | ||
docker-compose up | ||
``` | ||
|
||
Startup takes 1 minute | ||
|
||
If you have created an env file named external-database.env start the following | ||
|
||
```bash | ||
docker-compose --env-file external-database.env up -d | ||
``` | ||
|
||
If you create an `.env` file, docker compose use it without using --env-file | ||
|
||
|
||
### URL and default login | ||
|
||
- Lutece Open UI at <http://localhost:8080/citelibreez>. | ||
|
||
- Lutece Back end is available at : <http://localhost:8080/citelibreez/jsp/admin/AdminLogin.jsp> : `admin`/`adminadmin` | ||
|
||
- Mail (in order to see mail send by application) at <http://localhost:1080/>. | ||
|
||
- Matomo (for see stats of your application) at <http://localhost:80> : `admin`/`adminadmin` | ||
|
||
- Keycloak at <http://localhost:8081/> : `admin` / `admin1234` . And for demo you can use user demo : `[email protected]` / `test1234=TEST1234` | ||
|
||
- Elasticsearch & Kibana <http://localhost:5601> : `lutece` / `RKOmBI1sWaa*SFm1gx*H` | ||
|
||
### Helpful commands | ||
|
||
- `docker-compose exec citelibre /bin/bash`: Get a bash shell inside your CiteLibre-citelibreez container. | ||
- `docker-compose logs`: See all logs. | ||
- `docker-compose logs {service}`: See logs for a particular service, e.g. `citelibre`. | ||
|
||
## Optional services | ||
|
||
If these services are not relevant to you, feel free to delete the corresponding commented sections. | ||
|
||
## Matomo | ||
|
||
In matomo by default is displayed the day after today. Remember to change with the current date of the day if you want see the actual data | ||
|
||
## Production usage | ||
|
||
> [!CAUTION] | ||
> DO NOT use this without persisting your data and email. You should use | ||
mounted volumes as containers can be recreated and re-init all data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.