Skip to content

Commit

Permalink
remove duplicate migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
GarPit committed Aug 5, 2017
1 parent e4fb85f commit 14aa029
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 154 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ EXPOSE 3000
# Expose a volume so that nginx will be able to read in assets in production.
VOLUME ["$INSTALL_PATH/public"]

CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
# Configure an entry point, so we don't need to specify
# "bundle exec" for each of our commands.
ENTRYPOINT ["bundle", "exec"]

CMD ["rails", "server", "-b", "0.0.0.0"]
13 changes: 0 additions & 13 deletions db/migrate/20170607100121_create_pages.kms.rb

This file was deleted.

11 changes: 0 additions & 11 deletions db/migrate/20170607100122_create_templates.kms.rb

This file was deleted.

7 changes: 0 additions & 7 deletions db/migrate/20170607100123_add_template_id_to_pages.kms.rb

This file was deleted.

11 changes: 0 additions & 11 deletions db/migrate/20170607100124_create_assets.kms.rb

This file was deleted.

7 changes: 0 additions & 7 deletions db/migrate/20170607100125_add_ancestry_to_pages.kms.rb

This file was deleted.

43 changes: 0 additions & 43 deletions db/migrate/20170607100126_devise_create_users.kms.rb

This file was deleted.

6 changes: 0 additions & 6 deletions db/migrate/20170607100127_add_fullpath_to_pages.kms.rb

This file was deleted.

6 changes: 0 additions & 6 deletions db/migrate/20170607100128_add_role_to_users.kms.rb

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions db/migrate/20170607100130_add_hidden_to_page.kms.rb

This file was deleted.

6 changes: 0 additions & 6 deletions db/migrate/20170607100131_add_position_to_kms_pages.kms.rb

This file was deleted.

12 changes: 0 additions & 12 deletions db/migrate/20170607100132_create_kms_snippets.kms.rb

This file was deleted.

10 changes: 0 additions & 10 deletions db/migrate/20170607100133_create_kms_settings.kms.rb

This file was deleted.

This file was deleted.

7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ version: '3'
services:
db:
image: postgres
environment:
POSTGRES_PASSWORD: 'xyz'
web:
image: webgradus/kms
command: bundle exec rails s -p 3000 -b '0.0.0.0'
image: apiqcms/core
command: rails s -p 3000 -b '0.0.0.0'
environment:
SECRET_TOKEN: abc
RAILS_SERVE_STATIC_FILES: 'true'
DATABASE: apiq
volumes:
- .:/kms
ports:
Expand Down

0 comments on commit 14aa029

Please sign in to comment.