File tree 4 files changed +21
-0
lines changed
4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -25,3 +25,4 @@ config/application.yml
25
25
public /assets /*
26
26
dump.rdb
27
27
coverage
28
+ data /
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ If you want Gate to setup VPN for you then just install OpenVPN with easy rsa. G
68
68
* Build docker image using ` docker build -t gate . `
69
69
* Create and update ` .env ` file according to ` .env.example ` with appropriate values
70
70
* Run the image using ` docker run -p 3000:3000 --env-file=.env -it gate `
71
+ * If you want use docker-compose run using ` docker-compose up `
71
72
72
73
## Additional Topics
73
74
Original file line number Diff line number Diff line change
1
+ version : " 2"
2
+ services :
3
+ gate-sql :
4
+ image : mysql:5.7
5
+ volumes :
6
+ - ${PWD}/data:/var/lib/mysql
7
+ environment :
8
+ - MYSQL_ALLOW_EMPTY_PASSWORD=true
9
+
10
+ gate :
11
+ image : gate
12
+ ports :
13
+ - " 3000:3000"
14
+ depends_on :
15
+ - gate-sql
16
+ env_file :
17
+ - .env
18
+ command : sh ./setup.sh
Original file line number Diff line number Diff line change
1
+ rake db:setup && rails s
You can’t perform that action at this time.
0 commit comments