-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
40 lines (40 loc) · 1.23 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
version: "3.7"
services:
web:
tty: true
build:
context: .
dockerfile: scripts/Dockerfile
args:
DEBUG: 'YES' # Enabled for local debugging
BUILDTIME_PEPPER: '5KV6gxzAhAGRH1FfWaoPbg==' # Any base64 value will do
image: golddranks/ganbare_web
ports:
- "8080:8080"
depends_on:
- db
environment:
GANBARE_PARANOID: 'false'
GANBARE_DATABASE_URL: postgres://postgres:password@db/ganbare_dev
GANBARE_RUNTIME_PEPPER: '00BGpjB/ITFcy4Ivf+rYaWU+Ro3ciKjIAjJNBEXTfGo='
GANBARE_EMAIL_SERVER: localhost:25
GANBARE_SITE_DOMAIN: localhost
GANBARE_COOKIE_HMAC_KEY: '7YjOdv8IeEw8SZnYl7j/LPXGVHyhGRElm7WXWTGSLcU='
volumes:
- ./audio:/srv/audio:ro
- ./images:/srv/images:ro
- ./user_audio:/srv/user_audio
- ./migrations:/srv/migrations:ro # These are needed in debug mode
- ./templates:/srv/templates:ro # These are needed in debug mode
- ./src:/srv/src:ro # These are needed in debug mode
db:
tty: true
build:
context: .
dockerfile: scripts/Dockerfile.database
image: golddranks/ganbare_database
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: ganbare_dev