-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
50 lines (45 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.9'
volumes:
bna_data: {}
idena_data: {}
postgres_data: {}
services:
bna:
container_name: bna_bot
image: bna
user: "bnauser:bnauser"
restart: unless-stopped
volumes:
- bna_data:/app/state
environment:
- "BNA_CONFIG_FILE=/app/state/config.json"
env_file:
- env_docker
build:
context: .
dockerfile: ./Dockerfile
depends_on:
postgres:
condition: service_started
idena:
condition: service_healthy
idena:
container_name: bna_idena
image: idena
user: "idenauser:idenauser"
build:
context: docker_idena
dockerfile: ./Dockerfile
restart: always
volumes:
- idena_data:/idena
postgres:
container_name: bna_postgres
image: bitnami/postgresql:15
restart: always
environment:
- POSTGRESQL_USERNAME=bna
- POSTGRESQL_PASSWORD=bna
- POSTGRESQL_DATABASE=bna
volumes:
- postgres_data:/bitnami/postgresql