forked from stringer-rss/stringer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 898 Bytes
/
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
version: '2'
services:
postgres:
image: postgres:9.5-alpine
restart: always
networks:
- stringer-network
volumes:
- ~/stringer:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=super_secret_password
- POSTGRES_USER=db_user
- POSTGRES_DB=stringer
web:
image: stringerrss/stringer:latest
build: .
depends_on:
- postgres
restart: always
ports:
- 80:8080
networks:
- stringer-network
environment:
- SECRET_KEY_BASE=<your configuration>
- ENCRYPTION_PRIMARY_KEY=<your configuration>
- ENCRYPTION_DETERMINISTIC_KEY=<your configuration>
- ENCRYPTION_KEY_DERIVATION_SALT=<your configuration>
- PORT=8080
- DATABASE_URL=postgres://db_user:super_secret_password@postgres:5432/stringer
networks:
stringer-network:
external: false
name: stringer-network