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.
68 lines
1.4 KiB
68 lines
1.4 KiB
version: "2"
|
|
services:
|
|
web:
|
|
image: nginx
|
|
ports:
|
|
- "88:80"
|
|
restart: always
|
|
volumes:
|
|
- ./nginx/conf:/etc/nginx
|
|
- ./nginx/log:/var/log/nginx
|
|
- ./nginx/www:/www
|
|
networks:
|
|
- dlc-dev-network
|
|
depends_on:
|
|
- php
|
|
mysql:
|
|
image: mysql
|
|
restart: always
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
volumes:
|
|
- ./mysql/etc:/etc/mysql
|
|
- ./mysql/data:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=73937393
|
|
- MYSQL_DATABASE=antsys
|
|
networks:
|
|
- dlc-dev-network
|
|
php:
|
|
image: pay46/php7.3
|
|
restart: always
|
|
volumes:
|
|
- ./nginx/www:/www
|
|
- ./php-fpm/etc:/usr/local/etc/php
|
|
depends_on:
|
|
- mongodb
|
|
- mysql
|
|
- redis
|
|
networks:
|
|
- dlc-dev-network
|
|
mongodb:
|
|
image: mongo
|
|
restart: always
|
|
volumes:
|
|
- ./mongodb/data:/data/db
|
|
- ./mongodb/log:/data/logs
|
|
environment:
|
|
- MONGO_INITDB_ROOT_USERNAME=root
|
|
- MONGO_INITDB_ROOT_PASSWORD=73937393
|
|
networks:
|
|
- dlc-dev-network
|
|
redis:
|
|
image: redis
|
|
restart: always
|
|
command: [
|
|
"bash", "-c",
|
|
'
|
|
docker-entrypoint.sh
|
|
--requirepass "73937393"
|
|
'
|
|
]
|
|
volumes:
|
|
- ./redis/etc:/usr/local/etc/redis
|
|
- ./redis/data:/data
|
|
networks:
|
|
- dlc-dev-network
|
|
networks:
|
|
dlc-dev-network:
|
|
driver: bridge
|