2 Commits

Autor SHA1 Nachricht Datum
  Chris Smith dc4ab409ff
Exegesis vor 4 Jahren
  Chris Smith 706de3e3ea
Add docker-compose snippets vor 4 Jahren
2 geänderte Dateien mit 49 neuen und 0 gelöschten Zeilen
  1. 1
    0
      content/docs/language/definitions.adoc
  2. 48
    0
      content/docs/software/docker.adoc

+ 1
- 0
content/docs/language/definitions.adoc Datei anzeigen

@@ -9,6 +9,7 @@ I record the definitions as a memory aid and for reference.
9 9
 Antimacassar:: A small cloth placed over the backs or arms of chairs, or the head or cushions of a sofa, to prevent soiling of the permanent fabric underneath
10 10
 Concomitant:: Naturally accompanying or associated ("comes with its own concomitant set of problems")
11 11
 Droit du seigneur:: A feudal right said to have existed in medieval Europe giving the lord to whom it belonged the right to sleep the first night with the bride of any one of his vassals
12
+Exegesis:: Critical analysis or interpretation, especially of scripture
12 13
 Junta:: A council or committee for political or government purposes, especially after a revolutionary seizure of power
13 14
 Malaphor:: Blend of two aphorisms, idioms, or clichés ("We'll burn that bridge when we come to it") [informal]
14 15
 Matutolypea:: The state of being extraordinarily grumpy, irritable, and plain anti-social first thing in the morning

+ 48
- 0
content/docs/software/docker.adoc Datei anzeigen

@@ -0,0 +1,48 @@
1
++++
2
++++
3
+
4
+:source-highlighter: pygments
5
+
6
+== Docker
7
+
8
+=== Compose file snippets
9
+
10
+==== General template
11
+
12
+[source,yaml]
13
+----
14
+version: '3.7'
15
+
16
+services:
17
+  name:
18
+    image: x/y:z
19
+    volumes:
20
+      - host/path:/container/path
21
+      - custom:/container/path
22
+    environment:
23
+      FOO: bar
24
+    restart: always
25
+
26
+networks:
27
+  custom:
28
+    external: true
29
+
30
+volumes:
31
+  custom:
32
+----
33
+
34
+==== MySQL/MariaDB
35
+
36
+[source,yaml]
37
+----
38
+  db:
39
+    image: mariadb:latest
40
+    volumes:
41
+      - mariadb_data:/var/lib/mysql
42
+    restart: always
43
+    environment:
44
+      MYSQL_DATABASE: app_name
45
+      MYSQL_USER: app_name
46
+      MYSQL_PASSWORD: app_password
47
+      MYSQL_ROOT_PASSWORD: random_password
48
+----

Laden…
Abbrechen
Speichern