forked from oceanprotocol/uploader_backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (52 loc) · 1.28 KB
/
docker-compose.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.9"
services:
dbs:
container_name: ${APP_NAME}_dbs
build: .
network_mode: host
environment:
- PYTHONUNBUFFERED=1
- DJANGO_LOG_LEVEL=DEBUG=value
volumes:
- .:/usr/src/app
command:
- /bin/sh
- '-c'
- '/usr/src/app/server/docker-entrypoint.sh'
mariadb:
container_name: ${APP_NAME}_mariadb
image: mariadb
restart: always
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_USER: test
MARIADB_PASS: pass
MARIADB_DATABASE: filecoin_dbs
MARIADB_HOST: 127.0.0.1
healthcheck:
test: mariadb --user=root --password=root --silent --execute "use filecoin_dbs;"
interval: 1s
timeout: 3s
retries: 10
# volumes:
# - ./mounts/mariadb:/var/lib/mariadb
network_mode: host
dbs_filecoin:
container_name: ${APP_NAME}_filecoin
build: ./services/dbs_filecoin/
env_file: .env # Used to provide the filecoin env variables
depends_on:
mariadb:
condition: service_healthy
network_mode: host
dbs_arweave:
container_name: ${APP_NAME}_arweave
build: ./services/dbs_arweave/
env_file: .env
network_mode: host
ipfs:
image: ipfs/kubo
network_mode: host
ipfs-cluster:
image: ipfs/ipfs-cluster
network_mode: host