-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(#181): add Lagoon and docker files
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker-compose-yaml: .lagoon/docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '2.3' | ||
|
||
x-lagoon-project: | ||
&lagoon-project druxtjs-org | ||
|
||
x-environment: | ||
&default-environment | ||
LAGOON_PROJECT: *lagoon-project | ||
|
||
services: | ||
app: | ||
build: | ||
context: ../docs | ||
dockerfile: Dockerfile | ||
labels: | ||
lagoon.type: node | ||
ports: | ||
- "3000:3000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM amazeeio/node:14 | ||
|
||
COPY . /app/ | ||
RUN yarn | ||
|
||
# Build Nuxt codebase. | ||
RUN yarn generate | ||
|
||
ENV HOST 0.0.0.0 | ||
EXPOSE 3000 | ||
|
||
CMD ["yarn", "start"] |