-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
53 lines (53 loc) · 1.45 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
51
52
53
services:
alttube-go:
build:
context: .
dockerfile: Dockerfile
ports:
- "8072:8072"
volumes:
- .env.docker:/app/.env
container_name: alttube-go
depends_on:
- alttube-postgres
- piped
- piped-proxy
alttube-postgres:
image: postgres:alpine
environment:
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
container_name: alttube-postgres
piped:
image: 1337kavin/piped:latest
restart: unless-stopped
ports:
- "8060:8080"
volumes:
- ./config.properties:/app/config.properties
depends_on:
- piped-postgres
container_name: piped-backend
piped-postgres:
image: postgres:alpine
restart: unless-stopped
ports:
- "8063:5432"
volumes:
- ./piped-data/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=piped
- POSTGRES_USER=piped
- POSTGRES_PASSWORD=changeme
container_name: piped-postgres
piped-proxy:
image: 1337kavin/piped-proxy:latest
restart: unless-stopped
ports:
- "8061:8080"
container_name: pipedproxy