Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
1-getting-started-with-rails-for-ateneo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mis-21-2018-intersession
1-getting-started-with-rails-for-ateneo
Commits
ab873605
Commit
ab873605
authored
Jun 28, 2018
by
John Noel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
0 deletions
+49
-0
.env
.env
+17
-0
Dockerfile
Dockerfile
+17
-0
Gemfile.lock
Gemfile.lock
+0
-0
docker-compose.yml
docker-compose.yml
+15
-0
No files found.
.env
0 → 100644
View file @
ab873605
# Prefix for docker images, containers, volumes and networks
COMPOSE_PROJECT_NAME=sample_app
# What Rails environment are we in?
RAILS_ENV=development
# More details about these Puma variables can be found in config/puma.rb.
# Which address should the Puma app server bind to?
BIND_ON=0.0.0.0:3000
# Puma supports multiple threads but in development mode you'll want to use 1
# thread to ensure that you can properly debug your application.
RAILS_MAX_THREADS=5
# Puma supports multiple workers but you should stick to 1 worker in dev mode.
WEB_CONCURRENCY=1
\ No newline at end of file
Dockerfile
0 → 100644
View file @
ab873605
FROM
ruby:2.5-alpine
ENV
http_proxy http://proxy.admu.edu.ph:3128
ENV
https_proxy http://proxy.admu.edu.ph:3128
RUN
apk update
&&
apk add build-base nodejs postgresql-dev
RUN
apk add
--update
bash tzdata sqlite sqlite-dev
RUN
rm
-rf
/var/cache/apk/
*
RUN
mkdir
/app
WORKDIR
/app
COPY
. /app
\ No newline at end of file
Gemfile.lock
0 → 100644
View file @
ab873605
docker-compose.yml
0 → 100644
View file @
ab873605
version
:
'
3'
services
:
web
:
build
:
.
command
:
sh ./start
volumes
:
-
.:/app
-
bundle:/usr/local/bundle
ports
:
-
'
3000:3000'
env_file
:
-
.env
volumes
:
bundle
:
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment