完善docker compose一键部署

This commit is contained in:
Yu Sun
2022-07-22 14:44:27 +08:00
parent 127e7a1ea7
commit 4141ed3655
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ RUN sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list \
&& apt update \
&& apt install -y software-properties-common \
&& add-apt-repository -y ppa:ondrej/php \
&& sed -i 's/ppa.launchpad.net/launchpad.proxy.ustclug.org/g' /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list \
&& sed -i 's/ppa.launchpadcontent.net/launchpad.proxy.ustclug.org/g' /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list \
&& apt update \
&& apt install -y --no-install-recommends \
make \

View File

@@ -1,5 +1,7 @@
services:
scada:
build:
context: .
container_name: edge_manager
image: edge_manager
network_mode: host