mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 00:54:13 +02:00
46 lines
696 B
YAML
46 lines
696 B
YAML
version: "3.7"
|
|
services:
|
|
postgres:
|
|
image: postgres:15
|
|
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: |