46 lines
822 B
YAML
46 lines
822 B
YAML
|
|
services:
|
|
base:
|
|
build: ./docker/base
|
|
image: base
|
|
|
|
base-dm:
|
|
build: ./docker/base-dm
|
|
image: base-dm
|
|
depends_on:
|
|
- base
|
|
|
|
build-dmpython:
|
|
build: ./docker/build-dmpython
|
|
image: build-dmpython
|
|
depends_on:
|
|
- base-dm
|
|
|
|
build-frontend:
|
|
build: ./app-dm
|
|
image: build-frontend
|
|
|
|
flask-app:
|
|
build: ./python
|
|
restart: always
|
|
image: flask-app
|
|
depends_on:
|
|
- base-dm
|
|
ports:
|
|
- '8000:8000'
|
|
- '8765:8765'
|
|
command: python app.py
|
|
|
|
code-server:
|
|
build: ./docker/code-server
|
|
restart: always
|
|
image: code-server
|
|
depends_on:
|
|
- build-dmpython
|
|
ports:
|
|
- '8443:8443'
|
|
- '5000:5000'
|
|
- '3000:3000'
|
|
command: service DmServiceDMTEST start && sleep 9999999999
|
|
|