1 Star 0 Fork 54

木木/jnoj

forked from shiy-ang/jnoj 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
shiy-ang 提交于 2022-12-10 18:25 . feat!: docker compose 部署
version: '3'
services:
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8888:80
depends_on:
- mysql
environment:
PMA_USER: root
PMA_PASSWORD: 123456
links:
- mysql:db
mysql:
image: mysql:latest
restart: always
volumes:
- ./data/mysql:/var/lib/mysql
environment:
MYSQL_DATABASE: jnoj
MYSQL_ROOT_PASSWORD: 123456
TZ: Asia/Shanghai
judge:
build:
context: .
dockerfile: docker/Dockerfile
restart: always
command: bash -c "make && ./dispatcher -d"
privileged: true
volumes:
- ./judge:/sandbox
links:
- mysql:mysql
polygon:
build:
context: .
dockerfile: docker/Dockerfile
command: bash -c "make && ./polygon -d"
restart: always
privileged: true
volumes:
- ./polygon:/sandbox
links:
- mysql:mysql
php:
image: yiisoftware/yii2-php:8.1-fpm
volumes:
- ./:/app:delegated
web:
image: phundament/nginx-one:1.9-5.1.1
environment:
- FASTCGI_PASS_HOST=php
ports:
- '8100:80'
volumes:
- ./:/app:delegated
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/woodplus/jnoj.git
git@gitee.com:woodplus/jnoj.git
woodplus
jnoj
jnoj
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385