Comments (5)
Hey thanks for the quick reply.
I only have the one server which both the proxy and scale8 services are running on.
Proxy is a pre-existing SWAG docker container (essentially nginx + LE certificate host) which is pointing at the router
container (which I guess is an nginx container itself at the end of the day).
Yes everything is being run via docker-compose locally.
from scale8-tag-manager-and-analytics.
Awesome, thank you for the extra info. We'll replicate your setup and get this sorted for you.
from scale8-tag-manager-and-analytics.
Hey thanks very much, that did it! I'll close the ticket now, thanks for such a speedy fix. Looking forward to playing around with this now.
from scale8-tag-manager-and-analytics.
@BackedUpBooty thank you for the bug report.
Just to clarify that you are using a load balancer to terminate SSL and then proxy that on? Are you doing it all via docker-compose locally?
We'll investigate using the steps you have provided and update this thread with configuration steps or push a fix.
from scale8-tag-manager-and-analytics.
@BackedUpBooty - I have updated docker-compose.yml to reflect the router setting requirement.
api:
image: scale8/api:latest
container_name: api
depends_on:
- mongodb
expose:
- "8082"
environment:
# To connect to a local version of MongoDB, use mongodb://host.docker.internal .
MONGO_CONNECT_STRING: "mongodb://mongodb"
# When booting, we want the server to run the setup job (this will race if multiple API servers are booted at the same time)
SETUP_MODE: "true"
# The UI server...
S8_UI_SERVER: "http://127.0.0.1:8080"
If you change S8_UI_SERVER
to https://mysub.domain.com
that will make sure the generated tag is correct.
edge:
image: scale8/edge:latest
container_name: edge
depends_on:
- mongodb
expose:
- "6080"
environment:
# Run in production
S8_ENV: "production"
# To connect to a local version of MongoDB, use mongodb://host.docker.internal .
MONGO_CONNECT_STRING: "mongodb://mongodb"
# The API server - required for generating live previews. Here we refer to the 'api' server as defined below.
S8_API_SERVER: "http://api:8082"
# The root server refers to the entry point of the network. In this example, we are using the 'route' defined below.
S8_EDGE_SERVER: "http://127.0.0.1:8080"
# Proxy a platform's live build in. PROXY_FOR can be either be 'core' or the platform id associated with the platform.
# PROXY_FOR: "core"
# PROXY_LOCATION: "http://host.docker.internal:3124/main.js"
Then in the edge config, change S8_EDGE_SERVER
to https://mysub.domain.com
.
PROXY_LOCATION
is purely for debugging and creating platforms. You don't need to change it.
Please let me know if you have any other issues.
from scale8-tag-manager-and-analytics.
Related Issues (17)
- Support for OpenID - Self hosted version.
- Feature: Add mapped volumes to docker-compose HOT 4
- Analytics - Custom range bug
- Document minimum resources for selfhosting HOT 4
- Test & Update - Payment System HOT 1
- Automated emails - Account changes & updates
- Client side code testing
- Admin Panel
- End of free trial. HOT 1
- Sync and deploy api docs on tag-manager deploy
- Revision naming change
- Terraform GCP.
- Add X to user text inputs.
- After transferring ownership redirect to users (list)
- After accepting invitation an extra mail confirmation is required, investigate ways to skip it.
- A non owner should not see accounts expiration alerts.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scale8-tag-manager-and-analytics.