fix: expose port fix to 38080
This commit is contained in:
parent
873e8dfd2b
commit
06ed1f232d
@ -9,5 +9,5 @@ COPY . /app
|
|||||||
COPY --from=0 dist /app/webui/dist
|
COPY --from=0 dist /app/webui/dist
|
||||||
RUN go mod tidy && go build .
|
RUN go mod tidy && go build .
|
||||||
|
|
||||||
EXPOSE 38081
|
EXPOSE 38080
|
||||||
ENTRYPOINT [ "./pastebin", "api" ]
|
ENTRYPOINT [ "./pastebin", "api" ]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server-name: pastebin
|
server-name: pastebin
|
||||||
server-listen: 127.0.0.1:38082
|
server-listen: 0.0.0.0:38080
|
||||||
environment: dev
|
environment: dev
|
||||||
db:
|
db:
|
||||||
dbname: data/pastebin.db
|
dbname: data/pastebin.db
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
server-name: pastebin
|
server-name: pastebin
|
||||||
server-listen: 0.0.0.0:38082
|
server-listen: 0.0.0.0:38080
|
||||||
environment: prod
|
environment: prod
|
||||||
db:
|
db:
|
||||||
dbname: data/pastebin.db
|
dbname: data/pastebin.db
|
||||||
|
@ -6,6 +6,6 @@ services:
|
|||||||
container_name: pastebin
|
container_name: pastebin
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/containers/pastebin/pastebin.db:/app/pastebin.db
|
- /data/containers/pastebin:/app/data
|
||||||
ports:
|
ports:
|
||||||
- "30002:38082"
|
- "30002:38080"
|
||||||
|
Loading…
Reference in New Issue
Block a user