et_full_system 6.0.0.pre.rc22 → 6.0.0.pre.rc26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docker/docker-compose.yml +7 -5
- data/foreman/ComposeProcfile +1 -1
- 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: c03e67b76268e8534828d618c954db8b294399b6691badaacdfdfac0f1a3d834
|
4
|
+
data.tar.gz: 55e03623be158771400e2b124b30c6ba1a121e73671eea0d4a0db46650a28dbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85a64c94042d7369c3de3851e0564345548abc450ea51307b30114825f583e56fe79674bc21be0c46b7d6787d47544476c8db758c8beebb7cdbc467cd41576e6
|
7
|
+
data.tar.gz: 3bbd7eeb2e6d0896b9d7dd86656bb75f7f3efd6e5010e466f6e5547424599ffea7d80b30d40825fd83fb3abaddb5354126b5685d11f355b23778f52c5ed96fa5
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
et_full_system (6.0.0.pre.
|
4
|
+
et_full_system (6.0.0.pre.rc26)
|
5
5
|
aws-sdk-s3 (~> 1.9)
|
6
6
|
azure-storage (~> 0.15.0.preview)
|
7
7
|
dotenv (~> 2.7, >= 2.7.2)
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
addressable (2.8.0)
|
25
25
|
public_suffix (>= 2.0.2, < 5.0)
|
26
26
|
aws-eventstream (1.2.0)
|
27
|
-
aws-partitions (1.
|
27
|
+
aws-partitions (1.533.0)
|
28
28
|
aws-sdk-core (3.122.1)
|
29
29
|
aws-eventstream (~> 1, >= 1.0.2)
|
30
30
|
aws-partitions (~> 1, >= 1.525.0)
|
data/docker/docker-compose.yml
CHANGED
@@ -4,16 +4,19 @@ 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
|
15
15
|
networks:
|
16
|
-
|
16
|
+
et_full_system:
|
17
|
+
aliases:
|
18
|
+
- s3.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
19
|
+
|
17
20
|
links:
|
18
21
|
- db
|
19
22
|
- redis
|
@@ -103,7 +106,6 @@ services:
|
|
103
106
|
- admin.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
104
107
|
- et1.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
105
108
|
- et3.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
106
|
-
- s3.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
107
109
|
- azure_blob_storage.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
108
110
|
- azure.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
109
111
|
- atos.${SERVER_DOMAIN:-et.127.0.0.1.nip.io}
|
data/foreman/ComposeProcfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
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} &&
|
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.rc26
|
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
|