Sender | Message | Time |
---|---|---|
16 Jun 2020 | ||
rigelk | In reply to @pprw:matrix.orgbien sûr | 13:41:59 |
pprw | je suis les étapes de la page https://framagit.org/synalp/olki/olki/-/wikis/Admin-documentation | 13:43:37 |
pprw | il y a une typo à la commande docker-compose -f support/docker/docker-compose.yml run olki manage listusers | 13:44:10 |
pprw | ça devrait être : docker-compose -f support/docker/docker-compose.yml run olki manage user list | 13:44:29 |
rigelk | In reply to @pprw:matrix.orgmerci - j'ai renommé la commande depuis en effet ! | 13:44:54 |
pprw | ok | 13:45:36 |
pprw | du coup j'en suis là | 13:45:39 |
Gitlab Notifications | [OLKi/OLKi] Rigel Kent updated page on wiki Admin documentation (#0) | 13:45:40 |
pprw | voici ce que j'ai fait pour l'instant : | 13:45:51 |
pprw |
$ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common $ sudo apt install docker-compose *** $ pip install poetry The script poetry is installed in '/home/ahp/.local/bin' which is not on PATH. ** olki $ git clone https://framagit.org/synalp/olki/olki.git $ docker-compose -f support/docker/docker-compose.yml pull | 13:46:14 |
pprw | Question : est-ce que je fois configure le site dans nginx ou est-ce que c'est fait automatiquement par docker ? | 13:47:01 |
rigelk | In reply to @pprw:matrix.orgnon, ce n'est pas configuré automatiquement | 13:48:15 |
pprw | ok | 13:50:56 |
pprw | Sinon ça a l'air de se lancer correctement avec docker-compose -f support/docker/docker-compose.yml run olki | 13:51:18 |
pprw | est-ce qu'il y a un modèle pour la config nginx ? | 13:52:56 |
rigelk | non, tu as juste besoin d'un simple proxy_pass vers le port du service | 13:56:41 |
pprw | C'est le 443 ? | 14:00:58 |
rigelk | In reply to @pprw:matrix.orghttps://framagit.org/synalp/olki/olki/-/blob/develop/support/docker/docker-compose.yml#L8 | 14:01:40 |
pprw | File Edit Options Buffers Tools Help server { listen 80; listen [::]:80; server_name olki.ahp-numerique.fr; access_log /var/log/nginx/olki.ahp-numerique.fr.access.log; error_log /var/log/nginx/olki.ahp-numerique.fr.error.log; location / { proxy_pass 127.0.0.1:5000; } | 14:02:34 |
pprw | ça te semble ok ? | 14:02:51 |
pprw | C'est le /etc/nginx/sites-available/olki | 14:02:57 |
rigelk | In reply to @pprw:matrix.orgil faut un listen 443 si tu veux supporter https | 14:03:26 |
rigelk | et le bloc n'est pas fermé à la fin | 14:03:46 |
pprw | Oui mais je devrais configure letsencrypt non ? | 14:03:50 |
rigelk | probablement, oui | 14:04:08 |
rigelk | (sauf si tu as déjà un certificat) | 14:04:33 |
pprw | je teste d'abord juste en http | 14:04:35 |
rigelk | okay | 14:04:43 |
pprw | ok j'ai une erreur en rédémarrant nginx | 14:05:34 |
pprw | $ sudo service nginx restart Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. ahp@cchum-kvm-ahponcar:~/sites/olki$ systemctl status nginx.service ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/nginx.service.d └─override.conf Active: failed (Result: exit-code) since Tue 2020-06-16 16:05:08 CEST; 7s ago Docs: man:nginx(8) Process: 11174 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) | 14:05:43 |