mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: add IMAGE_TAG variables in production compose
This commit is contained in:
1 parent
d4c67a7d81
commit
c5fb65db51
1 file changed
+4
-4
@@ -17,7 +17,7 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: linuxodyssey/frontend
|
image: linuxodyssey/frontend:${IMAGE_TAG:-latest}
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
restart: always
|
restart: always
|
||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
- 'traefik.http.services.app.loadbalancer.server.port=80'
|
- 'traefik.http.services.app.loadbalancer.server.port=80'
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: linuxodyssey/backend
|
image: linuxodyssey/backend:${IMAGE_TAG:-latest}
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
restart: always
|
restart: always
|
||||||
@@ -74,7 +74,7 @@ services:
|
|||||||
- 'traefik.http.services.backend.loadbalancer.server.port=3000'
|
- 'traefik.http.services.backend.loadbalancer.server.port=3000'
|
||||||
|
|
||||||
analytics:
|
analytics:
|
||||||
image: linuxodyssey/analytics
|
image: linuxodyssey/analytics:${IMAGE_TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: services/analytics/Dockerfile
|
dockerfile: services/analytics/Dockerfile
|
||||||
@@ -103,7 +103,7 @@ services:
|
|||||||
- .env.prod
|
- .env.prod
|
||||||
|
|
||||||
base:
|
base:
|
||||||
image: linuxodyssey/quest-base
|
image: linuxodyssey/quest-base:${IMAGE_TAG:-latest}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./quests/Dockerfile
|
dockerfile: ./quests/Dockerfile
|
||||||
|
|||||||
Reference in new issue
Block a user