Commit e8521885 authored by Jeffery's avatar Jeffery

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

parent 1e135c69
......@@ -59,4 +59,4 @@ volumes:
networks:
net:
external:
name: server_net
\ No newline at end of file
name: docker_server_net
\ No newline at end of file
FROM raspbian/jessie
FROM ubuntu:18.04
# 更新套件清單
RUN apt update
# 安裝 systemctl
......
......@@ -9,6 +9,6 @@ chdir = /notebooks
socket = /notebooks/uwsgi.sock
logto = /notebooks/log/uwsgi.log
logto = /notebooks/logs/uwsgi.log
chmod-socket = 006
......@@ -2,8 +2,8 @@ server {
listen 80;
server_name localhost;
charset utf-8;
access_log /notebooks/log/nginx_access.log;
error_log /notebooks/log/nginx_error.log;
access_log /notebooks/logs/nginx_access.log;
error_log /notebooks/logs/nginx_error.log;
location / {
include /etc/nginx/uwsgi_params;
uwsgi_pass unix:/notebooks/uwsgi.sock;
......
[ODBC]
Trace = Yes
TraceFile = /notebooks/log/odbc.log
TraceFile = /notebooks/logs/odbc.log
[FreeTDS]
Description = TDS driver (Sybase/MS SQL)
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
......
......@@ -39,8 +39,5 @@ volumes:
portainer_data:
networks:
net:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.0.0/24
\ No newline at end of file
external:
name: docker_server_net
\ 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