Skip to content

Commit

Permalink
feat: add cdn container to local env (#179)
Browse files Browse the repository at this point in the history
* feat: added cdn image

* chore: revert port number

* fix: change directory map

* chore: clean up
  • Loading branch information
gabrielg2020 authored Jul 16, 2024
1 parent c5ba4e9 commit 30f123a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- api.local.olcs.dev-dvsacloud.uk
- ssweb.local.olcs.dev-dvsacloud.uk
- iuweb.local.olcs.dev-dvsacloud.uk
- cdn.local.olcs.dev-dvsacloud.uk

api:
build:
Expand Down Expand Up @@ -61,6 +62,17 @@ services:
VIRTUAL_HOST: iuweb.local.olcs.dev-dvsacloud.uk
VIRTUAL_PORT: 8080

cdn:
image: node:20
volumes:
- ./app/cdn:/var/www/html
tty: true
ports:
- 7001:7001
environment:
VIRTUAL_HOST: cdn.local.olcs.dev-dvsacloud.uk
VIRTUAL_PORT: 7001

redis:
image: redis:7
expose:
Expand Down

0 comments on commit 30f123a

Please sign in to comment.