8 changed files with 12 additions and 47 deletions
@ -1,32 +0,0 @@ |
|||||
version: '3.3' |
|
||||
services: |
|
||||
api: |
|
||||
image: 'yedf/dtm' |
|
||||
environment: |
|
||||
IS_DOCKER: '1' |
|
||||
ports: |
|
||||
- '8080:8080' |
|
||||
- '8082:8082' |
|
||||
- '58080:58080' |
|
||||
volumes: |
|
||||
- ..:/app/work |
|
||||
- /etc/localtime:/etc/localtime:ro |
|
||||
- /etc/timezone:/etc/timezone:ro |
|
||||
command: ['/app/dtm/main', 'qs'] |
|
||||
working_dir: /app/work |
|
||||
extra_hosts: |
|
||||
- 'host.docker.internal:host-gateway' |
|
||||
db: |
|
||||
image: 'mysql:5.7' |
|
||||
environment: |
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: 1 |
|
||||
volumes: |
|
||||
- /etc/localtime:/etc/localtime:ro |
|
||||
- /etc/timezone:/etc/timezone:ro |
|
||||
command: |
|
||||
[ |
|
||||
'--character-set-server=utf8mb4', |
|
||||
'--collation-server=utf8mb4_unicode_ci', |
|
||||
] |
|
||||
ports: |
|
||||
- '3306:3306' |
|
||||
Loading…
Reference in new issue