version: '3.8'
services:
// Use for store tokens info and wallet balances
redis:
image: redis:latest
container_name: cache
volumes:
- redis-data:/data
// Api service
service:
build:
context: ./app/
dockerfile: Dockerfile
container_name: service
restart: always
ports:
- 443:443
- 80:80
depends_on:
- redis
volumes:
redis-data: