Skip to content

Commit 18181af

Browse files
author
David Bernabeu Ferrer
committed
Add docker-stack-catalog.yml
1 parent 8d6bc14 commit 18181af

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
secrets:
2+
catalog_config_secret:
3+
external: true
4+
5+
networks:
6+
shared-net:
7+
external: true
8+
9+
services:
10+
fc-mongodb:
11+
image: mongodb/mongodb-community-server:8.2-ubi8
12+
ports:
13+
- "27018:27017"
14+
volumes:
15+
- /srv/data/mongodb:/data/db
16+
environment:
17+
MONGODB_INITDB_ROOT_USERNAME: "wake"
18+
MONGODB_INITDB_ROOT_PASSWORD: "VERY_SECRET_PASSWORD"
19+
networks:
20+
- shared-net
21+
22+
federated-catalog:
23+
image: ghcr.io/wake-ua/federated-catalog:${FC_IMAGE_TAG}
24+
depends_on:
25+
- fc-mongodb
26+
ports:
27+
- "39191:39191"
28+
- "39193:39193"
29+
- "39194:39194"
30+
- "39195:39195"
31+
secrets:
32+
- catalog_config_secret
33+
networks:
34+
- shared-net
35+
36+
entrypoint: [
37+
"java",
38+
"-Dedc.fs.config=/run/secrets/catalog_config_secret",
39+
"-jar", "/federated-catalog.jar",
40+
"--log-level=DEBUG"
41+
]

0 commit comments

Comments
 (0)