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
|
||||
RUN go mod tidy && go build .
|
||||
|
||||
EXPOSE 38081
|
||||
EXPOSE 38080
|
||||
ENTRYPOINT [ "./pastebin", "api" ]
|
||||
|
@ -1,5 +1,5 @@
|
||||
server-name: pastebin
|
||||
server-listen: 127.0.0.1:38082
|
||||
server-listen: 0.0.0.0:38080
|
||||
environment: dev
|
||||
db:
|
||||
dbname: data/pastebin.db
|
||||
|
@ -1,5 +1,5 @@
|
||||
server-name: pastebin
|
||||
server-listen: 0.0.0.0:38082
|
||||
server-listen: 0.0.0.0:38080
|
||||
environment: prod
|
||||
db:
|
||||
dbname: data/pastebin.db
|
||||
|
@ -6,6 +6,6 @@ services:
|
||||
container_name: pastebin
|
||||
restart: always
|
||||
volumes:
|
||||
- /data/containers/pastebin/pastebin.db:/app/pastebin.db
|
||||
- /data/containers/pastebin:/app/data
|
||||
ports:
|
||||
- "30002:38082"
|
||||
- "30002:38080"
|
||||
|
Loading…
Reference in New Issue
Block a user