Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
簡碩辰
Server
Commits
e8521885
Commit
e8521885
authored
Jun 25, 2019
by
Jeffery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: Jeffery <shuochen.tw@ecom.com.tw>
parent
1e135c69
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
11 deletions
+8
-11
docker-compose.yml
api/docker-compose.yml
+1
-1
Dockerfile
api/flask/Dockerfile
+1
-1
null
api/flask/notebooks/logs/null
+0
-0
models
api/flask/notebooks/models
+0
-0
uwsgi.ini
api/flask/notebooks/uwsgi.ini
+1
-1
default
api/flask/setting/default
+2
-2
odbcinst.ini
api/flask/setting/odbcinst.ini
+1
-1
docker-compose.yml
docker-compose.yml
+2
-5
No files found.
api/docker-compose.yml
View file @
e8521885
...
@@ -59,4 +59,4 @@ volumes:
...
@@ -59,4 +59,4 @@ volumes:
networks
:
networks
:
net
:
net
:
external
:
external
:
name
:
server_net
name
:
docker_server_net
\ No newline at end of file
\ No newline at end of file
api/flask/Dockerfile
View file @
e8521885
FROM
raspbian/jessie
FROM
ubuntu:18.04
# 更新套件清單
# 更新套件清單
RUN
apt update
RUN
apt update
# 安裝 systemctl
# 安裝 systemctl
...
...
api/flask/notebooks/log/null
→
api/flask/notebooks/log
s
/null
View file @
e8521885
File moved
api/flask/notebooks/models
0 → 100644
View file @
e8521885
api/flask/notebooks/uwsgi.ini
View file @
e8521885
...
@@ -9,6 +9,6 @@ chdir = /notebooks
...
@@ -9,6 +9,6 @@ chdir = /notebooks
socket
=
/notebooks/uwsgi.sock
socket
=
/notebooks/uwsgi.sock
logto
=
/notebooks/log/uwsgi.log
logto
=
/notebooks/log
s
/uwsgi.log
chmod-socket
=
006
chmod-socket
=
006
api/flask/setting/default
View file @
e8521885
...
@@ -2,8 +2,8 @@ server {
...
@@ -2,8 +2,8 @@ server {
listen 80;
listen 80;
server_name localhost;
server_name localhost;
charset utf-8;
charset utf-8;
access_log /notebooks/log/nginx_access.log;
access_log /notebooks/log
s
/nginx_access.log;
error_log /notebooks/log/nginx_error.log;
error_log /notebooks/log
s
/nginx_error.log;
location / {
location / {
include /etc/nginx/uwsgi_params;
include /etc/nginx/uwsgi_params;
uwsgi_pass unix:/notebooks/uwsgi.sock;
uwsgi_pass unix:/notebooks/uwsgi.sock;
...
...
api/flask/setting/odbcinst.ini
View file @
e8521885
[ODBC]
[ODBC]
Trace
=
Yes
Trace
=
Yes
TraceFile
=
/notebooks/log/odbc.log
TraceFile
=
/notebooks/log
s
/odbc.log
[FreeTDS]
[FreeTDS]
Description
=
TDS driver (Sybase/MS SQL)
Description
=
TDS driver (Sybase/MS SQL)
Driver
=
/usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
Driver
=
/usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
...
...
docker-compose.yml
View file @
e8521885
...
@@ -39,8 +39,5 @@ volumes:
...
@@ -39,8 +39,5 @@ volumes:
portainer_data
:
portainer_data
:
networks
:
networks
:
net
:
net
:
driver
:
bridge
external
:
ipam
:
name
:
docker_server_net
driver
:
default
\ No newline at end of file
config
:
-
subnet
:
192.168.0.0/24
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment