Compare commits
No commits in common. "263dc057dee55d384c2e14a911469383856ca956" and "aa35f4319144724f372139ef47956d4109bbde95" have entirely different histories.
263dc057de
...
aa35f43191
|
@ -1,4 +0,0 @@
|
||||||
*.env
|
|
||||||
!*.env.example
|
|
||||||
influx-configs
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[default]
|
|
||||||
url = "http://localhost:8086"
|
|
||||||
token = "some-admin-token"
|
|
||||||
org = "someOrganization"
|
|
||||||
active = true
|
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
|
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
influxdb:
|
|
||||||
image: influxdb:2.5.1-alpine
|
|
||||||
env_file: influxdb.env
|
|
||||||
volumes:
|
|
||||||
- influx_data:/var/lib/influxdb2
|
|
||||||
- ./config:/etc/influxdb2
|
|
||||||
networks: [felia]
|
|
||||||
ports:
|
|
||||||
- 8086:8086
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
# provider:
|
|
||||||
# image: python:3.9.15-buster
|
|
||||||
# restart: unless-stopped
|
|
||||||
# command: bash -c "/usr/src/app/install-pip.sh && python /usr/src/app/provider.py"
|
|
||||||
# volumes:
|
|
||||||
# - ./provider:/usr/src/app
|
|
||||||
# environment:
|
|
||||||
# INFLUXDB_URL: http://influxdb:8086
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
influx_data:
|
|
||||||
|
|
||||||
networks:
|
|
||||||
felia:
|
|
||||||
name: felia-nginx-net
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
DOCKER_INFLUXDB_INIT_MODE=setup
|
|
||||||
DOCKER_INFLUXDB_INIT_USERNAME=some-username
|
|
||||||
DOCKER_INFLUXDB_INIT_PASSWORD=some-password
|
|
||||||
DOCKER_INFLUXDB_INIT_ORG=someOrganization
|
|
||||||
DOCKER_INFLUXDB_INIT_BUCKET=initial-bucket
|
|
||||||
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=some-admin-token
|
|
|
@ -8,8 +8,7 @@ NixOS on WSL (felia-1). This deployment works on Docker WSL of Felia node.
|
||||||
|
|
||||||
## How to apply changes
|
## How to apply changes
|
||||||
|
|
||||||
- push changes
|
The current way to apply the changes is to push to Felia's git server and
|
||||||
- `docker compose up -d`
|
`cloudflare-nginx/scripts/reload_nginx.sh` on a Docker client that connected to Felia
|
||||||
- `cloudflare-nginx/scripts/reload_nginx.sh` on a Docker client that connected to Felia
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://c4c-secret-manager-vault-1:8200;
|
proxy_pass http://c4c-secret-manager-vault-1:8200;
|
||||||
# proxy_pass http://influxdb-influxdb-1:8086;
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
# NOTE: Felia is under Cox ISP, which blocks port 80 anyways.
|
|
||||||
# we're just going to leave it like this for now
|
|
||||||
# server {
|
|
||||||
# listen 80;
|
|
||||||
# listen [::]:80;
|
|
||||||
# server_name localhost;
|
|
||||||
# return 302 https://$server_name$request_uri;
|
|
||||||
# }
|
|
||||||
|
|
||||||
server {
|
|
||||||
# SSL configuration
|
|
||||||
listen 443 ssl http2;
|
|
||||||
listen [::]:443 ssl http2;
|
|
||||||
|
|
||||||
include /etc/nginx/ssl_params;
|
|
||||||
|
|
||||||
server_name influxdb.felia.cloud;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
# proxy_pass http://localhost:8086;
|
|
||||||
proxy_pass http://influxdb-influxdb-1:8086;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue