mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
40 lines
823 B
YAML
40 lines
823 B
YAML
version: '3'
|
|
services:
|
|
postgres:
|
|
image: kartoza/postgis
|
|
restart: unless-stopped
|
|
env_file:
|
|
- release.env
|
|
volumes:
|
|
- database:/var/lib/postgresql/data
|
|
redis:
|
|
image: 'bitnami/redis:latest'
|
|
restart: unless-stopped
|
|
environment:
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
volumes:
|
|
- redis-db:/bitnami/redis/data
|
|
env_file:
|
|
- release.env
|
|
olgram:
|
|
image: ghcr.io/civsocit/olgram/bot:stable
|
|
restart: unless-stopped
|
|
labels:
|
|
- 'com.centurylinklabs.watchtower.enable="true"'
|
|
env_file:
|
|
- release.env
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./config.json:/config.json
|
|
command: --interval 30
|
|
|
|
|
|
volumes:
|
|
database:
|
|
redis-db:
|