feat: drone.ci
This commit is contained in:
parent
4a128fa79e
commit
892039e622
|
@ -1,23 +1,6 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: backset/server:1.0
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile.release
|
||||
restart: always
|
||||
container_name: backset-server
|
||||
ports:
|
||||
- 7001:7001
|
||||
|
||||
links:
|
||||
- mysql:mysql
|
||||
- redis:redis
|
||||
depends_on:
|
||||
- mysql
|
||||
- redis
|
||||
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
restart: always
|
||||
|
@ -47,3 +30,20 @@ services:
|
|||
- /www/wwwroot/redis/conf:/etc/redis/redis.conf
|
||||
- /www/wwwroot/redis/data:/data
|
||||
command: redis-server --requirepass "cr654654." --port 26379
|
||||
|
||||
|
||||
web:
|
||||
image: backset/server:1.0
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile.release
|
||||
restart: always
|
||||
container_name: backset-server
|
||||
ports:
|
||||
- 7001:7001
|
||||
links:
|
||||
- mysql:mysql
|
||||
- redis:redis
|
||||
depends_on:
|
||||
- mysql
|
||||
- redis
|
Loading…
Reference in New Issue
Block a user