forked from autobrr/autobrr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1010 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1010 Bytes
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
---
services:
autobrr:
# image: ghcr.io/autobrr/autobrr:develop
build:
context: .
dockerfile: Dockerfile
container_name: autobrr
volumes:
- ./config:/config
ports:
- "7474:7474"
restart: unless-stopped
# environment:
# AUTOBRR__POSTGRES_PASSWORD_FILE: /run/secrets/db_password
# secrets:
# - db_password
postgres:
image: postgres:12.10
container_name: postgres
volumes:
- postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
- POSTGRES_USER=autobrr
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=autobrr
test_postgres:
image: postgres:12.10
container_name: autobrr_postgres_test
volumes:
- test_postgres:/var/lib/postgresql/data
ports:
- "5437:5432"
environment:
- POSTGRES_USER=testdb
- POSTGRES_PASSWORD=testdb
- POSTGRES_DB=autobrr
#secrets:
# db_password:
# file: db_password.txt
volumes:
postgres:
test_postgres: