-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.example.yml
55 lines (47 loc) · 1.18 KB
/
docker-compose.example.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
54
55
version: '3.4'
x-app-defaults: &app-defaults
restart: always
environment: &app-env
URL_HOST: https://podify.yourdomain.com
DATABASE_URL: postgres://podify:verysecurepassword@db/podify
REDIS_URL: redis://redis
SECRET_KEY_BASE: a57d57661ef5df58b46fab6f04304e89108f22f89b31d2242b31891102da87d519a1f3c6459c1d2716b3b8c5438ef43e06ed4c29c8fb059eb650dc2ec0062d57
STORAGE_DIR: /storage
INITIAL_USER_EMAIL: you@example.com
INITIAL_USER_PASSWORD: yourpassword
ENABLE_SIGNUP: "no"
volumes:
- storage:/storage
depends_on:
- db
- redis
services:
web:
<<: *app-defaults
image: maxhollmann/podify:latest
command: start-server
ports:
- 3000:3000
environment:
<<: *app-env
worker:
<<: *app-defaults
image: maxhollmann/podify:latest
command: start-worker
environment:
<<: *app-env
db:
image: postgres:12.3
restart: always
environment:
POSTGRES_USER: podify
POSTGRES_PASSWORD: verysecurepassword
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- pgdata:/var/lib/postgresql/data/pgdata
redis:
image: redis:6
restart: always
volumes:
pgdata:
storage: