Skip to content

Commit f5de9f3

Browse files
committed
add docker compose file
1 parent 2bf4a7b commit f5de9f3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
services:
2+
explorer:
3+
image: ghcr.io/community-network/explorer-rust/explorer:latest
4+
restart: always
5+
environment:
6+
- DATABASE_URL={{MYSQL_DB_URL}}
7+
- MONGO_DETAILS_STRING={{MONGO_DETAILS_STRING}}
8+
- API_MAIN_ACCOUNT={{API_MAIN_ACCOUNT}}
9+
- API_MAIN_ACCOUNT_PASSWORD={{API_MAIN_ACCOUNT_PASSWORD}}
10+
healthcheck:
11+
test: curl -fk http://localhost:3030/ || exit 1
12+
interval: "60s"
13+
timeout: "3s"
14+
retries: 3
15+
start_period: "5s"

0 commit comments

Comments
 (0)