mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 01:14:16 +02:00
47 lines
697 B
YAML
47 lines
697 B
YAML
version: '3.7'
|
|
services:
|
|
postgres:
|
|
image: postgres:16
|
|
container_name: postgres
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
networks:
|
|
- arabot
|
|
|
|
redis:
|
|
image: redis:7
|
|
container_name: redis
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- redis:/data
|
|
networks:
|
|
- arabot
|
|
|
|
arabot:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: arabot
|
|
restart: always
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
env_file:
|
|
- .env
|
|
networks:
|
|
- arabot
|
|
|
|
volumes:
|
|
postgres:
|
|
name: arabot-db
|
|
redis:
|
|
name: arabot-redis
|
|
|
|
networks:
|
|
arabot:
|