Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
schedules
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
schedules
Commits
f76bdff6
Commit
f76bdff6
authored
Sep 05, 2019
by
Zac Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed docker for devlopment
parent
d213fe83
Pipeline
#4648
failed with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
1 deletion
+54
-1
docker-compose.yml
docker-compose.yml
+11
-0
schedules/.dockerignore
schedules/.dockerignore
+25
-0
schedules/Dockerfile.dev
schedules/Dockerfile.dev
+17
-0
schedules/config/environments/development.rb
schedules/config/environments/development.rb
+1
-1
No files found.
docker-compose.yml
0 → 100644
View file @
f76bdff6
version
:
"
3.7"
services
:
schedules
:
build
:
context
:
./schedules
dockerfile
:
Dockerfile.dev
ports
:
-
3000:3000
volumes
:
-
./schedules:/schedules
schedules/.dockerignore
0 → 100644
View file @
f76bdff6
# Ignore bundler config.
/.bundle
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
/node_modules
/yarn-error.log
.byebug_history
/public/packs
/public/packs-test
/node_modules
yarn-debug.log*
.yarn-integrity
coverage
subjects
\ No newline at end of file
schedules/Dockerfile.dev
0 → 100644
View file @
f76bdff6
FROM starefossen/ruby-node:latest
RUN mkdir /schedules
WORKDIR /schedules
ADD . /schedules
EXPOSE 3000
ENV RAILS_ENV development
RUN bundle install
RUN yarn install
RUN rails db:migrate
RUN rails db:seed
RUN rails runner db/load_course_ratings.rb
CMD ["./start.sh"]
schedules/config/environments/development.rb
View file @
f76bdff6
Rails
.
application
.
configure
do
# Verifies that versions and hashed value of the package contents in the project's package.json
config
.
webpacker
.
check_yarn_integrity
=
tru
e
config
.
webpacker
.
check_yarn_integrity
=
fals
e
# Settings specified here will take precedence over those in config/application.rb.
...
...
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