增加pg的php支持;更改项目名

This commit is contained in:
Yu Sun
2022-07-02 10:58:03 +08:00
parent cd3f6d6621
commit b02a1107f2
3 changed files with 6 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
php-xdebug \
php-mbstring \
php-xml \
php-pgsql \
libevent-dev \
&& 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 \
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
WORKDIR /SCADA
WORKDIR /EdgeManager

0
app.php Normal file
View File

View File

@@ -1,11 +1,11 @@
services:
scada:
container_name: scada
build:
context: .
container_name: edge_manager
build: .
image: edge_manager:latest
network_mode: "host"
volumes:
- $PWD:/SCADA
- $PWD:/EdgeManager
restart: unless-stopped
timescaledb: