et_full_system 6.0.0.pre.rc23 → 6.0.0.pre.rc27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docker/docker-compose.yml +3 -3
- data/foreman/ComposeProcfile +2 -2
- data/lib/et_full_system/cli/docker.rb +1 -1
- data/lib/et_full_system/cli/local/file_storage.rb +1 -1
- data/lib/et_full_system/cli/local.rb +2 -1
- data/lib/et_full_system/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e9b826b95f06440976d26121d585bfbf8d70fdbe4183da0101b12dc0661014a
|
4
|
+
data.tar.gz: c06175c8d7f8ea43d4d38885b8f5ee84a88b2231d7dd9f14715171d5806df13c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97006d6186db40e9760f74b5279c3ae67c4c59ed13d646f0cd7fae79d3faf086cb07e316724a24dbc1f90ce71b92d2f9d3d3821cf0f2120e566ff3d5504121c2
|
7
|
+
data.tar.gz: c3b272dee6ac154c27af108b11de0c8c407816118136f707985d80f3927c39c19e647ea87d5b9a9152bb64e7ac1809e78f1f5075b0d1c72daf7dddefa489e863
|
data/Gemfile.lock
CHANGED
data/docker/docker-compose.yml
CHANGED
@@ -4,11 +4,11 @@ services:
|
|
4
4
|
# The official v2 Traefik docker image
|
5
5
|
image: traefik:v2.5
|
6
6
|
# Enables the web UI and tells Traefik to listen to docker
|
7
|
-
command: --api.insecure=true --providers.docker
|
7
|
+
command: --api.insecure=true --providers.docker --entryPoints.http.address=:3100 --entryPoints.traefik.address=:3200
|
8
8
|
ports:
|
9
|
-
- "3100:
|
9
|
+
- "3100:3100"
|
10
10
|
# The Web UI (enabled by --api.insecure=true)
|
11
|
-
- "3200:
|
11
|
+
- "3200:3200"
|
12
12
|
volumes:
|
13
13
|
# So that Traefik can listen to the Docker events
|
14
14
|
- /var/run/docker.sock:/var/run/docker.sock
|
data/foreman/ComposeProcfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
et1_web: export godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et1 && bundle exec iodine -port $PORT"
|
2
|
-
et3_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et3.env bash --login -c "cd ${FS_ROOT_PATH} &&
|
1
|
+
et1_web: export godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et1.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et1 && bundle exec iodine -port $PORT > /home/app/et1.log"
|
2
|
+
et3_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et3.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/et3 && bundle exec iodine -port $PORT"
|
3
3
|
api_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_api.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/api && bundle exec iodine -port $PORT"
|
4
4
|
admin_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_admin.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/admin && bundle exec iodine -port $PORT"
|
5
5
|
atos_api_web: godotenv -f ${FOREMAN_PATH}/.env godotenv -f ${FOREMAN_PATH}/et_atos.env bash --login -c "cd ${FS_ROOT_PATH} && cd systems/atos && bundle exec iodine -port $PORT"
|
@@ -21,7 +21,7 @@ module EtFullSystem
|
|
21
21
|
def setup
|
22
22
|
unbundled do
|
23
23
|
gem_root = File.absolute_path('../../..', __dir__)
|
24
|
-
cmd = "/bin/bash --login -c \"cd /home/app/full_system && et_full_system docker bootstrap && et_full_system local setup\""
|
24
|
+
cmd = "/bin/bash --login -c \"cd /home/app/full_system && et_full_system docker bootstrap && et_full_system local setup --in-docker-compose\""
|
25
25
|
compose_cmd = "UID=#{Process.uid} GEM_VERSION=#{EtFullSystem::VERSION} LOCALHOST_FROM_DOCKER_IP=#{host_ip} docker-compose -f #{gem_root}/docker/docker-compose.yml run --rm et #{cmd}"
|
26
26
|
puts compose_cmd
|
27
27
|
exec(compose_cmd)
|
@@ -55,7 +55,7 @@ module EtFullSystem
|
|
55
55
|
|
56
56
|
def setup_azure_storage
|
57
57
|
unbundled do
|
58
|
-
puts `bash --login -c "export RAILS_ENV=production && cd systems/api &&
|
58
|
+
puts `bash --login -c "export RAILS_ENV=production && cd systems/api && godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec rails configure_azure_storage_containers configure_azure_storage_cors"`
|
59
59
|
|
60
60
|
end
|
61
61
|
end
|
@@ -130,9 +130,10 @@ module EtFullSystem
|
|
130
130
|
desc "setup", "Sets up everything ready for first run"
|
131
131
|
method_option :rails_env, type: :string, default: ENV.fetch('RAILS_ENV', 'production')
|
132
132
|
method_option :cloud_provider, type: :string, default: ENV.fetch('CLOUD_PROVIDER', 'amazon')
|
133
|
+
method_option :in_docker_compose, type: :boolean, default: false, desc: 'Set to true to assume certain services are in docker compose'
|
133
134
|
def setup
|
134
135
|
setup_depencencies
|
135
|
-
setup_ruby_versions
|
136
|
+
setup_ruby_versions unless options.in_docker_compose?
|
136
137
|
setup_services
|
137
138
|
end
|
138
139
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et_full_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.0.pre.
|
4
|
+
version: 6.0.0.pre.rc27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|