Skip to content

Commit 9ddd9ba

Browse files
committed
zarf/docker: olive-portal config
1 parent c27aadc commit 9ddd9ba

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

zarf/docker/config/default.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
server {
2+
listen 8080;
3+
server_name localhost;
4+
5+
location / {
6+
root /usr/share/nginx/html;
7+
index index.html index.htm;
8+
}
9+
10+
location /v1 {
11+
proxy_pass http://olive-server:3000/v1;
12+
}
13+
}

zarf/docker/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ services:
4949
- olive-server
5050
ports:
5151
- "8080:8080"
52+
volumes:
53+
- ./config/default.conf:/etc/nginx/conf.d/default.conf
5254
networks:
5355
- olive-network
5456

0 commit comments

Comments
 (0)