Parcourir la source

Merge branch 'shaarli' into 'master'

Shaarli

See merge request oxyta.net/docker-atelier!12
Guilhem Saurel il y a 6 ans
Parent
commit
1bdfdfcc7a
2 fichiers modifiés avec 34 ajouts et 0 suppressions
  1. 13 0
      links/README.md
  2. 21 0
      links/docker-compose.yml

+ 13 - 0
links/README.md

@@ -0,0 +1,13 @@
+# Shaarli
+
+https://www.shaarli.fr/
+
+## Deploy
+```
+docker-compose up -d
+```
+## First login
+
+Go to your web browser and define the login and password.
+You are done !
+

+ 21 - 0
links/docker-compose.yml

@@ -0,0 +1,21 @@
+version: '3'
+
+networks:
+  web:
+    external: true
+
+services:
+  app:
+    image: shaarli/shaarli:latest
+    restart: unless-stopped
+    volumes:
+      - data:/var/www/shaarli/data
+    labels:
+      traefik.enable: "true"
+      traefik.frontend.rule: "Host: links.${CHATONS_DOMAIN:-localhost}, www.links.${CHATONS_DOMAIN:-localhost}"
+    networks:
+      - web
+      - default
+
+volumes:
+  data: