From a3c5464a29f56cfdace83906a787dc95f02ca4d9 Mon Sep 17 00:00:00 2001 From: Trevor-Lan Date: Sat, 24 Sep 2022 13:40:14 +0800 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f59f59d..48f54ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,17 +4,15 @@ services: gateway: image: nginx:1.21.5 container_name: gateway - restart: always - privileged: true + ports: + - "8000:8000" environment: - TZ=Asia/Shanghai volumes: - ./deploy/gateway/pro:/etc/nginx/conf.d - ./data/gateway/log:/var/log/nginx - ports: - - "8000:8000" - networks: - - ark_admin_net + restart: always + privileged: true ark-admin-vuenext: image: arklnk/ark-admin-vuenext:latest @@ -24,8 +22,6 @@ services: ports: - "80:80" restart: always - networks: - - ark_admin_net ark-admin-zero: image: arklnk/ark-admin-zero:latest @@ -36,8 +32,6 @@ services: ports: - "8001:8001" restart: always - networks: - - ark_admin_net mysql: image: mysql:5.7 @@ -53,8 +47,6 @@ services: - ./deploy/sql/:/docker-entrypoint-initdb.d/ privileged: true restart: always - networks: - - ark_admin_net phpmyadmin: image: phpmyadmin:latest @@ -64,8 +56,6 @@ services: - "8080:80" environment: - PMA_ARBITRARY=1 - networks: - - ark_admin_net redis: image: redis:6.2.5 @@ -78,10 +68,4 @@ services: - ./data/redis/data:/data:rw command: "redis-server --requirepass 123456 --appendonly yes" privileged: true - restart: always - networks: - - ark_admin_net - -networks: - ark_admin_net: - driver: bridge \ No newline at end of file + restart: always \ No newline at end of file