View Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update -q | |
RUN apt-get -y install language-pack-ja openssl libssl-dev ncurses-dev curl git | |
RUN update-locale LANG=ja_JP.UTF-8 | |
# SSH | |
RUN mkdir -p /root/.ssh |
View circle.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
timezone: | |
Asia/Tokyo | |
services: | |
- docker | |
node: | |
version: 5.1.0 | |
dependencies: | |
cache_directories: |
View cloud-boothook.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-boothook | |
#!/bin/sh | |
# Application config | |
cat <<EOF > /opt/example_app/app.conf | |
logger.level = info | |
Endpoint.url.host = "example.com" | |
Endpoint.url.port = 443 |
View config.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mix.Config | |
config :example_app, | |
key1: "value1", | |
key2: "value2" | |
import_config "#{Mix.env}.exs" |
View mix.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ExampleApp.Mixfile do | |
use Mix.Project | |
def project do | |
[ | |
app: :example_app, | |
version: version(), | |
elixir: "~> 1.2.0", | |
elixirc_paths: elixirc_paths(Mix.env), | |
compilers: [:phoenix, :gettext] ++ Mix.compilers, |
NewerOlder