Compare commits
10 Commits
42d1f6276a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 419d91e292 | |||
| a428a77eb1 | |||
| 16eaa5bfa1 | |||
| 2cff1ec18b | |||
| 3366e85950 | |||
| 5cb0210668 | |||
| 2ddff15497 | |||
| 0492469ed6 | |||
| 0ecae68c63 | |||
| bc5f5e051f |
@@ -17,6 +17,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik-network
|
- traefik-network
|
||||||
- util-bills-mongo-network
|
- util-bills-mongo-network
|
||||||
|
# NextJS will do name resolution for `rezije.app` and will crash if it
|
||||||
|
# resolves to an IP adress different from the one assigned to the Docker container.
|
||||||
|
# This will prevent that from happening.
|
||||||
|
extra_hosts:
|
||||||
|
- "rezije.app:0.0.0.0"
|
||||||
environment:
|
environment:
|
||||||
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
|
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
|
||||||
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
|
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
|
||||||
@@ -26,7 +31,7 @@ services:
|
|||||||
LINKEDIN_SECRET: ugf61aJ2iyErLK40
|
LINKEDIN_SECRET: ugf61aJ2iyErLK40
|
||||||
HOSTNAME: rezije.app # IP address at which the server will be listening (0.0.0.0 = listen on all addresses)
|
HOSTNAME: rezije.app # IP address at which the server will be listening (0.0.0.0 = listen on all addresses)
|
||||||
NEXTAUTH_URL: https://rezije.app # URL next-auth will use while redirecting user during authentication (if not set - will use HOSTNAME)
|
NEXTAUTH_URL: https://rezije.app # URL next-auth will use while redirecting user during authentication (if not set - will use HOSTNAME)
|
||||||
PORT: ${PORT:-80}
|
PORT: ${PORT:-3000}
|
||||||
# Share link security
|
# Share link security
|
||||||
SHARE_LINK_SECRET: ef68362357315d5decb27d24ff9abdb4a02a3351cd2899f79bf238dce0fe08c5
|
SHARE_LINK_SECRET: ef68362357315d5decb27d24ff9abdb4a02a3351cd2899f79bf238dce0fe08c5
|
||||||
SHARE_TTL_INITIAL_DAYS: 10
|
SHARE_TTL_INITIAL_DAYS: 10
|
||||||
@@ -41,7 +46,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=traefik-network # mreže preko koje ide komunikacija sa Traefikom
|
- traefik.docker.network=traefik-network # mreže preko koje ide komunikacija sa Traefikom
|
||||||
- traefik.http.services.web-app.loadbalancer.server.port=80
|
- traefik.http.services.web-app.loadbalancer.server.port=3000
|
||||||
- traefik.http.routers.web-app.entrypoints=http
|
- traefik.http.routers.web-app.entrypoints=http
|
||||||
- traefik.http.routers.web-app.rule=Host(`${FQDN:-rezije.app}`)
|
- traefik.http.routers.web-app.rule=Host(`${FQDN:-rezije.app}`)
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik-network
|
- traefik-network
|
||||||
- util-bills-mongo-network
|
- util-bills-mongo-network
|
||||||
volumes:
|
# NextJS will do name resolution for `rezije.app` and will crash if it
|
||||||
- ./web-app/etc/hosts/:/etc/hosts
|
# resolves to an IP adress different from the one assigned to the Docker container.
|
||||||
|
# This will prevent that from happening.
|
||||||
|
extra_hosts:
|
||||||
|
- "rezije.app:0.0.0.0"
|
||||||
environment:
|
environment:
|
||||||
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
|
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
|
||||||
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
|
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ RUN apk add --no-cache libc6-compat
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# copy custom hosts file to avoid issues with some auth providers
|
|
||||||
COPY ./etc/hosts /etc/hosts
|
|
||||||
|
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY ./package.json ./package-lock.json ./
|
COPY ./package.json ./package-lock.json ./
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
127.0.0.1 localhost
|
|
||||||
::1 localhost ip6-localhost ip6-loopback
|
|
||||||
fe00::0 ip6-localnet
|
|
||||||
ff00::0 ip6-mcastprefix
|
|
||||||
ff02::1 ip6-allnodes
|
|
||||||
ff02::2 ip6-allrouters
|
|
||||||
# NextJS will do name resolution for `rezije.app` and will crash if it
|
|
||||||
# resolves to an IP adress different from the one assigned to the Docker container.
|
|
||||||
# This will prevent that from happening.
|
|
||||||
0.0.0.0 rezije.app
|
|
||||||
4
web-app/package-lock.json
generated
4
web-app/package-lock.json
generated
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "evidencija-rezija",
|
"name": "evidencija-rezija",
|
||||||
"version": "2.21.1",
|
"version": "2.21.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "2.21.1",
|
"version": "2.21.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.14.1",
|
"@emotion/styled": "^11.14.1",
|
||||||
|
|||||||
@@ -58,5 +58,5 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.17.0"
|
||||||
},
|
},
|
||||||
"version": "2.21.1"
|
"version": "2.21.3"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user