Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor-Lan committed Sep 24, 2022
1 parent 6d73973 commit a3c5464
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -24,8 +22,6 @@ services:
ports:
- "80:80"
restart: always
networks:
- ark_admin_net

ark-admin-zero:
image: arklnk/ark-admin-zero:latest
Expand All @@ -36,8 +32,6 @@ services:
ports:
- "8001:8001"
restart: always
networks:
- ark_admin_net

mysql:
image: mysql:5.7
Expand All @@ -53,8 +47,6 @@ services:
- ./deploy/sql/:/docker-entrypoint-initdb.d/
privileged: true
restart: always
networks:
- ark_admin_net

phpmyadmin:
image: phpmyadmin:latest
Expand All @@ -64,8 +56,6 @@ services:
- "8080:80"
environment:
- PMA_ARBITRARY=1
networks:
- ark_admin_net

redis:
image: redis:6.2.5
Expand All @@ -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
restart: always

0 comments on commit a3c5464

Please sign in to comment.