-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathcompose.yml
34 lines (30 loc) · 825 Bytes
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: odbdesign
services:
### use remote image build from github container registry
server:
image: ghcr.io/nam20485/odbdesign:nam20485-latest
volumes:
- ./compose-designs:/OdbDesign/designs
ports:
- 8888:8888
environment:
- ODBDESIGN_SERVER_REQUEST_USERNAME
- ODBDESIGN_SERVER_REQUEST_PASSWORD
### use local image built from Dockerfile
# server:
# build:
# context: .
# dockerfile: Dockerfile
# volumes:
# - ./compose-designs:/OdbDesign/designs
# ports:
# - 8888:8888
# environment:
# - ODBDESIGN_SERVER_REQUEST_USERNAME
# - ODBDESIGN_SERVER_REQUEST_PASSWORD
swagger-ui:
image: ghcr.io/nam20485/odbdesignserver-swaggerui:nam20485-latest
depends_on:
- server
ports:
- 8080:8080