-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 862 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 862 Bytes
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:
app:
build: .
image: gorest:compose
ports:
- "8080:8080"
links:
# - postgres
# - mongodb
- redis
environment:
ENV_PATH: 'config.yml'
DEBUG: 'true'
PORT: '8080'
redis:
image: sickp/alpine-redis:3.2.2
restart: unless-stopped
ports:
- "6379:6379"
# postgres:
# image: onjin/alpine-postgres:9.5
# restart: unless-stopped
# ports:
# - "5432:5432"
# environment:
# LC_ALL: C.UTF-8
# POSTGRES_USER: random
# POSTGRES_PASSWORD: random
# POSTGRES_DB: random
#
# mongodb:
# image: mvertes/alpine-mongo:3.2.3
# restart: unless-stopped
# ports:
# - "27017:27017"