You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
version: "3"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
mysql:
|
|
|
|
|
image: mysql.8.0
|
|
|
|
|
container_name: dep-mysql
|
|
|
|
|
environment:
|
|
|
|
|
MYSQL_ROOT_PASSWORD: adiao
|
|
|
|
|
ports:
|
|
|
|
|
- "3306:3306"
|
|
|
|
|
volumes:
|
|
|
|
|
- /root/mysql/data:/var/lib/mysql
|
|
|
|
|
nginx:
|
|
|
|
|
image: nginx:latest
|
|
|
|
|
container_name: dep-nginx
|
|
|
|
|
restart: always
|
|
|
|
|
volumes:
|
|
|
|
|
- /root/nginx/config/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
|
- /root/www:/usr/share/nginx/html
|
|
|
|
|
ports:
|
|
|
|
|
- "8082:80"
|
|
|
|
|
privileged: true
|
|
|
|
|
|
|
|
|
|
springweb:
|
|
|
|
|
image: depSystem:1.0
|
|
|
|
|
build:
|
|
|
|
|
.
|
|
|
|
|
|
|
|
|
|
ports:
|
|
|
|
|
- "8080:8080"
|
|
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
- mysql
|
|
|
|
|
- nginx
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
data_security:
|
|
|
|
|
- ipv4_address: 172.22.31.23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|