Commit e8521885 authored by Jeffery's avatar Jeffery

Signed-off-by: Jeffery <shuochen.tw@ecom.com.tw>

parent 1e135c69
...@@ -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
FROM raspbian/jessie FROM ubuntu:18.04
# 更新套件清單 # 更新套件清單
RUN apt update RUN apt update
# 安裝 systemctl # 安裝 systemctl
......
...@@ -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/logs/uwsgi.log
chmod-socket = 006 chmod-socket = 006
...@@ -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/logs/nginx_access.log;
error_log /notebooks/log/nginx_error.log; error_log /notebooks/logs/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;
......
[ODBC] [ODBC]
Trace = Yes Trace = Yes
TraceFile = /notebooks/log/odbc.log TraceFile = /notebooks/logs/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
......
...@@ -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
Markdown is supported
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