blob: 02b13c7a096811149d6531cc53b37e9c0799f368 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
services:
kitchen:
build: ./markskitchen.git/
restart: always
depends_on:
- kitchen_db
environment:
{% for key, value in kitchen_env.items() %}
- {{ key }}={{ value }}
{% endfor %}
labels:
{% with router_name="kitchenv1", host_prefix="v1", container_port="8080" %}
{% include "util/traefik_labels.txt.j2" %}
{% endwith %}
kitchen_db:
image: mariadb
restart: always
environment:
{% for key, value in kitchen_env.items() %}
- {{ key }}={{ value }}
{% endfor %}
volumes:
- ./data/kitchen_db:/var/lib/mysql
games:
build: ./games.git/
restart: always
environment:
{% for key, value in games_env.items() %}
- {{ key }}={{ value }}
{% endfor %}
labels:
{% with router_name="games", host_prefix="games", container_port="8080" %}
{% include "util/traefik_labels.txt.j2" %}
{% endwith %}
|