mirror of https://github.com/dtm-labs/dtm.git
19 changed files with 109 additions and 157 deletions
@ -1,28 +0,0 @@ |
|||||
version: '3.3' |
|
||||
services: |
|
||||
api: |
|
||||
build: .. |
|
||||
volumes: |
|
||||
- /etc/localtime:/etc/localtime:ro |
|
||||
- /etc/timezone:/etc/timezone:ro |
|
||||
- ..:/app/dtm |
|
||||
extra_hosts: |
|
||||
- 'host.docker.internal:host-gateway' |
|
||||
environment: |
|
||||
IS_DOCKER: 1 |
|
||||
ports: |
|
||||
- '9080:8080' |
|
||||
mysql: |
|
||||
image: 'mysql:5.7' |
|
||||
volumes: |
|
||||
- /etc/localtime:/etc/localtime:ro |
|
||||
- /etc/timezone:/etc/timezone:ro |
|
||||
environment: |
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: 1 |
|
||||
command: |
|
||||
[ |
|
||||
'--character-set-server=utf8mb4', |
|
||||
'--collation-server=utf8mb4_unicode_ci', |
|
||||
] |
|
||||
ports: |
|
||||
- '3306:3306' |
|
||||
@ -1,16 +0,0 @@ |
|||||
version: '3.3' |
|
||||
services: |
|
||||
mysql: |
|
||||
image: 'mysql:5.7' |
|
||||
volumes: |
|
||||
- /etc/localtime:/etc/localtime:ro |
|
||||
- /etc/timezone:/etc/timezone:ro |
|
||||
environment: |
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: 1 |
|
||||
command: |
|
||||
[ |
|
||||
'--character-set-server=utf8mb4', |
|
||||
'--collation-server=utf8mb4_unicode_ci', |
|
||||
] |
|
||||
ports: |
|
||||
- '3306:3306' |
|
||||
@ -1,13 +0,0 @@ |
|||||
version: '3.3' |
|
||||
services: |
|
||||
postgres: |
|
||||
image: 'postgres:13' |
|
||||
command: postgres --max_prepared_transactions=1000 |
|
||||
volumes: |
|
||||
- /etc/localtime:/etc/localtime:ro |
|
||||
- /etc/timezone:/etc/timezone:ro |
|
||||
environment: |
|
||||
POSTGRES_PASSWORD: mysecretpassword |
|
||||
|
|
||||
ports: |
|
||||
- '5432:5432' |
|
||||
Loading…
Reference in new issue