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
# | |
# ElasticSearch Dockerfile | |
# | |
# https://github.com/dockerfile/elasticsearch | |
# | |
# Pull base image. | |
FROM dockerfile/java:oracle-java8 | |
ENV ES_PKG_NAME elasticsearch-1.4.2 |
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
Vagrant.configure(2) do |config| | |
config.vm.box = "hashicorp/precise64" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.provision "shell", path: "ansible.sh" | |
end |
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
{ | |
"app":{ | |
"id":1, | |
"name":"book-gs1", | |
"version":"0.0.1" | |
}, | |
"httpServer":{ | |
"ip":"127.0.0.1", | |
"port":1005, | |
"bossThread":4, |
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
package gs; | |
import io.netty.channel.ChannelHandler; | |
import common.AppImpl; | |
import common.network.AppNettyServerHandler; | |
import common.storage.AppCouchbaseHandler; | |
import common.storage.AppMySQLHandler; | |
import common.storage.AppRedisHandler; | |
public class App extends AppImpl implements AppCouchbaseHandler, |