增加pg的php支持;更改项目名
This commit is contained in:
@@ -21,6 +21,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
|
|||||||
php-xdebug \
|
php-xdebug \
|
||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-xml \
|
php-xml \
|
||||||
|
php-pgsql \
|
||||||
libevent-dev \
|
libevent-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -31,4 +32,4 @@ RUN printf "\n\n\n\n\nno\nyes\n\n" | pecl install event \
|
|||||||
&& chmod +x /usr/local/bin/composer \
|
&& chmod +x /usr/local/bin/composer \
|
||||||
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||||
|
|
||||||
WORKDIR /SCADA
|
WORKDIR /EdgeManager
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
scada:
|
scada:
|
||||||
container_name: scada
|
container_name: edge_manager
|
||||||
build:
|
build: .
|
||||||
context: .
|
image: edge_manager:latest
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD:/SCADA
|
- $PWD:/EdgeManager
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
timescaledb:
|
timescaledb:
|
||||||
|
|||||||
Reference in New Issue
Block a user