Compare commits
13 Commits
bc5f5e051f
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| b79b354fdc | |||
| a428a77eb1 | |||
| 16eaa5bfa1 | |||
| 2cff1ec18b | |||
| 3366e85950 | |||
| 5cb0210668 | |||
| 2ddff15497 | |||
| 0492469ed6 | |||
| 0ecae68c63 | |||
| 42d1f6276a | |||
| d17efdc156 | |||
| de97ce744f | |||
| c9cc32b811 |
@@ -13,12 +13,15 @@ networks:
|
||||
|
||||
services:
|
||||
web-app:
|
||||
image: utility-bills-tracker:${IMAGE_VERSION}
|
||||
image: registry.budakova.org/knee-cola/utility-bills-tracker:${IMAGE_VERSION}
|
||||
networks:
|
||||
- traefik-network
|
||||
- util-bills-mongo-network
|
||||
volumes:
|
||||
- ./web-app/etc/hosts/:/etc/hosts
|
||||
# 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:
|
||||
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
|
||||
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
|
||||
@@ -28,7 +31,7 @@ services:
|
||||
LINKEDIN_SECRET: ugf61aJ2iyErLK40
|
||||
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)
|
||||
PORT: ${PORT:-80}
|
||||
PORT: ${PORT:-3000}
|
||||
# Share link security
|
||||
SHARE_LINK_SECRET: ef68362357315d5decb27d24ff9abdb4a02a3351cd2899f79bf238dce0fe08c5
|
||||
SHARE_TTL_INITIAL_DAYS: 10
|
||||
@@ -43,7 +46,7 @@ services:
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- 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.rule=Host(`${FQDN:-rezije.app}`)
|
||||
|
||||
@@ -55,8 +58,8 @@ services:
|
||||
MONGO_INITDB_ROOT_USERNAME: root
|
||||
MONGO_INITDB_ROOT_PASSWORD: example
|
||||
volumes:
|
||||
- ./mongo-volume:/data/db
|
||||
- ./mongo-backup:/backup
|
||||
- /home/knee-cola/docker/evidencija-rezija/mongo-volume:/data/db
|
||||
- /home/knee-cola/docker/evidencija-rezija/mongo-backup:/backup
|
||||
networks:
|
||||
- util-bills-mongo-network
|
||||
mongo-express:
|
||||
|
||||
@@ -17,8 +17,11 @@ services:
|
||||
networks:
|
||||
- traefik-network
|
||||
- util-bills-mongo-network
|
||||
volumes:
|
||||
- ./web-app/etc/hosts/:/etc/hosts
|
||||
# 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:
|
||||
MONGODB_URI: mongodb://rezije.app:w4z4piJBgCdAm4tpawqB@mongo:27017/utility-bills
|
||||
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
|
||||
|
||||
@@ -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",
|
||||
"version": "2.21.0",
|
||||
"version": "2.21.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "2.21.0",
|
||||
"version": "2.21.3",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@emotion/styled": "^11.14.1",
|
||||
|
||||
@@ -58,5 +58,5 @@
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
},
|
||||
"version": "2.21.0"
|
||||
"version": "2.21.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user