mirror of
https://github.com/planetmint/planetmint.git
synced 2025-06-06 22:26:42 +00:00
Merge daf58c467959c7d2c3a5ac5a29088f0f58152584 into 975921183c5504ebba01eddbf76a130d6d784f92
This commit is contained in:
commit
04d694b8d0
@ -9,12 +9,6 @@ version: '2.2'
|
|||||||
services:
|
services:
|
||||||
# Build: docker-compose build -d planetmint
|
# Build: docker-compose build -d planetmint
|
||||||
# Run: docker-compose run -d bdb
|
# Run: docker-compose run -d bdb
|
||||||
mongodb:
|
|
||||||
image: mongo:3.6
|
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
command: mongod
|
|
||||||
restart: always
|
|
||||||
tarantool:
|
tarantool:
|
||||||
image: tarantool/tarantool:2.10.4
|
image: tarantool/tarantool:2.10.4
|
||||||
ports:
|
ports:
|
||||||
@ -28,12 +22,9 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
planetmint:
|
planetmint:
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongodb
|
|
||||||
- tendermint
|
- tendermint
|
||||||
- tarantool
|
- tarantool
|
||||||
build:
|
image: ghcr.io/planetmint/planetmint:latest
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./planetmint:/usr/src/app/planetmint
|
- ./planetmint:/usr/src/app/planetmint
|
||||||
- ./tests:/usr/src/app/tests
|
- ./tests:/usr/src/app/tests
|
||||||
@ -61,7 +52,8 @@ services:
|
|||||||
interval: 3s
|
interval: 3s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
command: 'planetmint -l DEBUG start'
|
#command: 'planetmint -l DEBUG start'
|
||||||
|
command: 'poetry run planetmint -l DEBUG start'
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
tendermint:
|
tendermint:
|
||||||
@ -87,30 +79,3 @@ services:
|
|||||||
image: appropriate/curl
|
image: appropriate/curl
|
||||||
command: /bin/sh -c "curl -s http://planetmint:9984/ > /dev/null && curl -s http://tendermint:26657/ > /dev/null"
|
command: /bin/sh -c "curl -s http://planetmint:9984/ > /dev/null && curl -s http://tendermint:26657/ > /dev/null"
|
||||||
|
|
||||||
# Build docs only
|
|
||||||
# docker-compose build bdocs
|
|
||||||
# docker-compose up -d bdocs
|
|
||||||
bdocs:
|
|
||||||
depends_on:
|
|
||||||
- vdocs
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
args:
|
|
||||||
backend: tarantool_db
|
|
||||||
volumes:
|
|
||||||
- .:/usr/src/app/
|
|
||||||
command: make -C docs/root html
|
|
||||||
vdocs:
|
|
||||||
image: nginx
|
|
||||||
ports:
|
|
||||||
- '33333:80'
|
|
||||||
volumes:
|
|
||||||
- ./docs/root/build/html:/usr/share/nginx/html
|
|
||||||
|
|
||||||
# Remove all build, test, coverage and Python artifacts
|
|
||||||
clean:
|
|
||||||
image: alpine
|
|
||||||
command: /bin/sh -c "./planetmint/scripts/clean.sh"
|
|
||||||
volumes:
|
|
||||||
- $PWD:/planetmint
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user