-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (58 loc) · 1.21 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
54
55
56
57
58
version: '3.5'
services:
application:
stdin_open: true
tty: true
build:
context: .
dockerfile: ./Dockerfile
args:
RAILS_ENV: production
APP: DEVK
ports:
- "8080:8080"
environment:
PORT: 8080
RAILS_LOG_TO_STDOUT: "true"
RAILS_SERVE_STATIC_FILES: "true"
RAILS_ENV: production
S3_BUCKET: optisure-staging
DEVISE_SECRET_KEY: pseudo
SECRET_KEY_BASE: hgijgkhoihoihiohj
AWS_REGION: eu-central-1
AWS_ACCESS_KEY: fffff
AWS_SECRET: iugfilugkllk
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRESQL_DATABASE: clark
POSTGRESQL_USERNAME: clark
POSTGRESQL_PASSWORD: clark
POSTGRESQL_HOST: postgres
FORCE_SSL: "false"
APP: DEVK
links:
- postgres
depends_on:
- postgres
networks:
- backend
- frontend
postgres:
image: "postgres:9.5.9"
environment:
POSTGRES_USER: clark
POSTGRES_PASSWORD: clark
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql
networks:
- backend
volumes:
postgres-data:
driver: local
networks:
backend:
internal: true
frontend:
driver: bridge