-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 860 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 860 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
version: '2'
services:
ruby:
# image: bitnami/ruby:latest
container_name: proxy-slack
hostname: proxy-slack
build: .
command: "bash run.sh"
volumes:
- '.:/code'
- './container_files/.bash_history:/root/.bash_history'
# cache ruby lib files
- '/root/.gem'
- '/root/.bundle/cache'
- './bundle_global_gems:/usr/local/bundle/gems'
- '/usr/local/bundle'
ports:
- '8747:22'
- '8805:80'
env_file:
- ${DOCKER_ENV_NAME}app.env
# nginx:
# container_name: proxy-slack_nginx
# hostname: proxy-slack-nginx
# image: nginx:1.10
# volumes:
# - ./site-nginx.conf:/etc/nginx/conf.d/default.conf
# links:
# - 'ruby:webapp'
# ports:
# - '5802:80'
# sqlite:
# image: tcgerlach/sqlite:latest
# container_name: proxy-slack_sqlite
# command: sqlite