-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (38 loc) · 1.38 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
version: "3"
services:
javascripts:
image: nycdavid/postapoc-js:0.0.1
volumes:
- js_volume:/app/dist
- ./docker.javascripts.src/src:/app/src
- ./docker.javascripts.src/__tests__:/app/__tests__
stylesheets:
image: nycdavid/postapoc-css:0.0.1
volumes:
- css_volume:/app/dist
- ./docker.stylesheets.src/src:/app/src
postapoc:
image: nycdavid/postapoc:0.0.1
environment:
- PORT=3000
- PGCONN=postgres://postgres@postgres/postgres?sslmode=disable
- SESSION_SECRET=developmentsecretxyz
ports:
- "3000:3000"
volumes:
- js_volume:/go/src/github.com/velvetreactor/postapocalypse/dist/javascripts
- css_volume:/go/src/github.com/velvetreactor/postapocalypse/dist/stylesheets
- ./docker.postapoc.src/static:/go/src/github.com/velvetreactor/postapocalypse/dist/static
- ./docker.postapoc.src/web:/go/src/github.com/velvetreactor/postapocalypse/web
- ./docker.postapoc.src/testhelper:/go/src/github.com/velvetreactor/postapocalypse/testhelper
- ./docker.postapoc.src/main.go:/go/src/github.com/velvetreactor/postapocalypse/main.go
- ./docker.postapoc.src/querynormalizer:/go/src/github.com/velvetreactor/postapocalypse/querynormalizer
depends_on:
- javascripts
- stylesheets
- postgres
postgres:
image: postgres:10.3-alpine
volumes:
js_volume:
css_volume: