-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose-virtual-box.yml
More file actions
99 lines (93 loc) · 3.06 KB
/
docker-compose-virtual-box.yml
File metadata and controls
99 lines (93 loc) · 3.06 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Accessing the two INN servers:
# Internally (from other containers like the FastAPI containers):
# * Use internetnews-server-austin:119
# * Use internetnews-server-boston:119
# Externally (from your host):
# * Use localhost:119 for Austin
# * Use localhost:1119 for Boston
# host.docker.internal would be used if the INN server was running on your localhost machine.
services:
# internetnews-server-austin:
# image: greenbender/inn # cclauss/inn
# volumes:
# - ./server_config/news_server/inn.austin.conf:/usr/local/news/etc/inn.conf
# - ./server_config/news_server/innfeed.austin.conf:/usr/local/news/etc/innfeed.conf
# - ./server_config/news_server/incoming.austin.conf:/usr/local/news/etc/incoming.conf
# - ./server_config/news_server/newsfeeds.austin:/usr/local/news/etc/newsfeeds
# - ./server_config/news_server/control.ctl.local:/usr/local/news/etc/control.ctl.local
# ports: # external:internal
# - 119:119
# - 563:563
# restart: always
# internetnews-server-boston:
# image: greenbender/inn # cclauss/inn
# volumes:
# - ./server_config/news_server/inn.boston.conf:/usr/local/news/etc/inn.conf
# - ./server_config/news_server/innfeed.boston.conf:/usr/local/news/etc/innfeed.conf
# - ./server_config/news_server/incoming.boston.conf:/usr/local/news/etc/incoming.conf
# - ./server_config/news_server/newsfeeds.boston:/usr/local/news/etc/newsfeeds
# - ./server_config/news_server/control.ctl.local:/usr/local/news/etc/control.ctl.local
# ports:
# - 1119:119
# - 1563:563
# restart: always
fastapi-server-austin:
image: fastapi
volumes:
- ./server:/app/server:rw
- ./static:/app/static:rw
- ./templates:/app/templates:rw
build:
dockerfile: Dockerfile
environment:
CMS_PLUGIN: server.plugins.qubes.plugin.QubesPlugin
INN_SERVER_NAME: 10.0.0.94 # austin
SERVER_PORT: 5001
ports:
- 5001:5001
# depends_on:
# - internetnews-server-austin
fastapi-server-boston:
image: fastapi
volumes:
- ./server:/app/server:rw
- ./static:/app/static:rw
- ./templates:/app/templates:rw
build:
dockerfile: Dockerfile
environment:
CMS_PLUGIN: server.plugins.oercommons.plugin.OERCommonsPlugin
INN_SERVER_NAME: 10.0.0.130 # boston
SERVER_PORT: 5001
ports:
- 5002:5001
# depends_on:
# - internetnews-server-boston
imls-react-austin:
image: imlsreact
volumes:
- ./fe2:/app:rw
build:
context: fe2
dockerfile: Dockerfile
environment:
NODE_ENV: development
REACT_APP_API_URL: 'http://ome-fastapi-server-austin-1:5001'
ports:
- 4000:4000
depends_on:
- fastapi-server-austin
imls-react-boston:
image: imlsreact
volumes:
- ./fe2:/app:rw
build:
context: fe2
dockerfile: Dockerfile
environment:
NODE_ENV: development
REACT_APP_API_URL: 'http://ome-fastapi-server-boston-1:5001'
ports:
- 4001:4000
depends_on:
- fastapi-server-boston