-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontainer.yml
40 lines (37 loc) · 911 Bytes
/
container.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: "2"
services:
# Add your containers here, specifying the base image you want to build from
# For example:
#
app:
from: rails
ports:
- "30000:3000"
command: ['bundle', 'exec','rails', 's','-p','3000','-b' , '0.0.0.0']
working_dir: "{{ deploy_dir }}/rasr"
environment:
DEVISE_SECRET_KEY_TEST: test
GLIBRARY_USERNAME: "{{ glibrary_username }}"
GLIBRARY_PASSWORD: "{{ glibrary_password }}"
dev_overrides:
environment:
- "DEBUG=1"
db:
from: "{{ docker_sql_image }}"
ports:
- "3306:3306"
command: docker-entrypoint.sh mysqld
environment:
- MYSQL_ROOT_PASSWORD=changeme
api_server:
from: tomcat:8.5-jre8
command: ["catalina.sh","run"]
ports:
- 8888:8080
registries:
docker:
url: https://hub.docker.com
namespace: /u/aaroc
quay:
url: https://quay.io
namespace: aaroc