mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 13:54:12 +02:00
35 lines
525 B
YAML
35 lines
525 B
YAML
services:
|
|
postgres:
|
|
image: postgres:14
|
|
container_name: postgres
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:7
|
|
container_name: redis
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- redis:/data
|
|
|
|
node:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
postgres:
|
|
name: arabot-db
|
|
redis:
|
|
name: arabot-redis
|