104 lines
2.0 KiB
YAML
104 lines
2.0 KiB
YAML
version: '3'
|
|
services:
|
|
maria_db:
|
|
image: mariadb:11.2
|
|
ports:
|
|
- "3307:3306"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./sqlStorage:/var/lib/mysql
|
|
healthcheck:
|
|
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: python -m app
|
|
env_file:
|
|
- .env
|
|
links:
|
|
- maria_db
|
|
ports:
|
|
- "15100:15100"
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./storedContent:/app/data
|
|
- ./activeConfig:/app/config
|
|
depends_on:
|
|
maria_db:
|
|
condition: service_healthy
|
|
|
|
indexer:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: python -m app indexer
|
|
env_file:
|
|
- .env
|
|
links:
|
|
- maria_db
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./storedContent:/app/data
|
|
- ./activeConfig:/app/config
|
|
depends_on:
|
|
maria_db:
|
|
condition: service_healthy
|
|
|
|
uploader:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: python -m app uploader
|
|
env_file:
|
|
- .env
|
|
links:
|
|
- maria_db
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./storedContent:/app/data
|
|
- ./activeConfig:/app/config
|
|
depends_on:
|
|
maria_db:
|
|
condition: service_healthy
|
|
|
|
ton_daemon:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: python -m app ton_daemon
|
|
env_file:
|
|
- .env
|
|
links:
|
|
- maria_db
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./storedContent:/app/data
|
|
- ./activeConfig:/app/config
|
|
depends_on:
|
|
maria_db:
|
|
condition: service_healthy
|
|
|
|
license_index:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
command: python -m app license_index
|
|
env_file:
|
|
- .env
|
|
links:
|
|
- maria_db
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./storedContent:/app/data
|
|
- ./activeConfig:/app/config
|
|
depends_on:
|
|
maria_db:
|
|
condition: service_healthy
|
|
|