File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : nullinside-ui
2
+ services :
3
+ nullinside-ui :
4
+ logging :
5
+ driver : loki
6
+ options :
7
+ loki-url : ' http://192.168.1.4:3100/loki/api/v1/push'
8
+ container_name : nullinside-ui
9
+ ports :
10
+ - 80:80
11
+ - 443:443
12
+ restart : unless-stopped
13
+ image : nullinside-ui:latest
Original file line number Diff line number Diff line change 1
1
export IP_ADDRESS=$( /sbin/ip -o -4 addr list eno2 | awk ' {print $4}' | cut -d/ -f1)
2
2
3
3
cp /secrets/certs/* nginx/filesystem/etc/nginx/certs
4
- docker build -t nullinside-ui:latest --build-arg BUILD_ENVIRONMENT=prod --build-arg IP_ADDRESS=$IP_ADDRESS .
5
- docker container stop nullinside-ui
6
- docker container prune -f
7
- docker run -d --name=nullinside-ui -p 80:80 -p 443:443 --restart unless-stopped nullinside-ui:latest
4
+ docker compose build -t nullinside-ui:latest --build-arg BUILD_ENVIRONMENT=prod --build-arg IP_ADDRESS=$IP_ADDRESS .
5
+ docker compose down
6
+ docker compose up -d
You can’t perform that action at this time.
0 commit comments