Commit 00c96cf5 authored by Pinon Gregory's avatar Pinon Gregory 🦉
Browse files

Finally got everything to communicate via my TOWER, might have to change some IPs for deployment

parent 0187480a
#TODO: Change 127.0.0.1 to db-ignite #TODO: Change 127.0.0.1 to db-ignite
DB_URL=127.0.0.1:10800 DB_URL=172.17.0.1:10800
DB_USER=ignite DB_USER=ignite
DB_PASSWORD=oemcs2 DB_PASSWORD=oemcs2
DEFAULT_USER=admin DEFAULT_USER=admin
......
DB_URL=192.168.0.43 DB_URL=172.17.0.1
DB_USER=ignite DB_USER=ignite
DB_PASSWORD=oemcs2 DB_PASSWORD=oemcs2
DEFAULT_USER=admin DEFAULT_USER=admin
DEFAULT_PASSWORD=admin DEFAULT_PASSWORD=admin
JWT_SECRET=D94AD7C66DA6FE86FD91D478DF2AC JWT_SECRET=D94AD7C66DA6FE86FD91D478DF2AC
\ No newline at end of file
...@@ -7,6 +7,7 @@ WORKDIR /opt/ignite ...@@ -7,6 +7,7 @@ WORKDIR /opt/ignite
#Copy #Copy
COPY default-config.xml $IGNITE_HOME/config COPY default-config.xml $IGNITE_HOME/config
COPY start.sh $IGNITE_HOME/config
# Entry point # Entry point
CMD $IGNITE_HOME/start.sh CMD $IGNITE_HOME/start.sh
......
This diff is collapsed.
...@@ -6,7 +6,7 @@ import { Observable } from 'rxjs'; ...@@ -6,7 +6,7 @@ import { Observable } from 'rxjs';
providedIn: 'root', providedIn: 'root',
}) })
export class HttpService { export class HttpService {
private uri: string = 'http://oecm-ywc.fr/api/'; private uri: string = 'https://oemc-ywc.fr/api/';
constructor(private http: HttpClient) {} constructor(private http: HttpClient) {}
......
...@@ -8,7 +8,7 @@ import * as io from 'socket.io-client/dist/socket.io.js'; ...@@ -8,7 +8,7 @@ import * as io from 'socket.io-client/dist/socket.io.js';
export class WebSocketService { export class WebSocketService {
socket: any; socket: any;
readonly url: string = 'https://oemc.fr'; readonly url: string = 'https://oemc-ywc.fr';
constructor() { constructor() {
this.socket = io(this.url); this.socket = io(this.url);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment