diff options
author | clarkzjw <[email protected]> | 2023-02-23 23:42:50 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-23 23:42:50 -0800 |
commit | b097f3c13ddfa51551bce9ca9344c796e5cea9cb (patch) | |
tree | fd09f2c0b9ba1b548bce6c214b9eb0f109baa77b /contrib/docker-compose.yaml | |
parent | af610ab49194f12783fdfb2cc676c4877b22ed7c (diff) | |
download | swarm2fediverse-b097f3c13ddfa51551bce9ca9344c796e5cea9cb.tar.gz |
deploy: add krakend api gateway
Diffstat (limited to 'contrib/docker-compose.yaml')
-rw-r--r-- | contrib/docker-compose.yaml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/docker-compose.yaml b/contrib/docker-compose.yaml index 7ba8c2d..3ca7981 100644 --- a/contrib/docker-compose.yaml +++ b/contrib/docker-compose.yaml | |||
@@ -1,6 +1,6 @@ | |||
1 | version: '3' | 1 | version: '3' |
2 | services: | 2 | services: |
3 | checkin.bot: | 3 | checkinbot: |
4 | image: "clarkzjw/checkin.bot:latest" | 4 | image: "clarkzjw/checkin.bot:latest" |
5 | restart: always | 5 | restart: always |
6 | volumes: | 6 | volumes: |
@@ -9,5 +9,14 @@ services: | |||
9 | ports: | 9 | ports: |
10 | - "8080:8080" | 10 | - "8080:8080" |
11 | 11 | ||
12 | krakend: | ||
13 | image: "devopsfaith/krakend:latest" | ||
14 | restart: always | ||
15 | ports: | ||
16 | - "8081:8080" | ||
17 | - "9091:9091" | ||
18 | volumes: | ||
19 | - "./krakend.json:/etc/krakend/krakend.json" | ||
20 | |||
12 | volumes: | 21 | volumes: |
13 | sqlite3: | 22 | sqlite3: |