diff --git a/README.md b/README.md index 8a5067f..df504cc 100755 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ ### Clone Repository Start by cloning the repository to somewhere on your device using the `git` command: ```bash -git clone https://ark.sudovanilla.org/korbs/project-pandora-charm/ -cd ./project-pandora-charm/ +git clone https://ark.sudovanilla.org/korbs/butterflyvu/ +cd ./butterflyvu/ ``` ### Install Packages @@ -53,11 +53,21 @@ A Docker Compose file is provided that can be used without needing to clone the ``` services: - pandora-charm: - image: ark.sudovanilla.org/korbs/project-pandora-charm:amd64 - port: 2014:2014 + butterflyvu: + image: ark.sudovanilla.org/korbs/butterlyvu:amd64 + volumes: + - ./config.json:/app/config.json + - ./docs/:/app/src/content/docs/ + - ./dists/:/app/dist/ + + nginx: + image: nginx:latest + restart: always + ports: + - 4242:80 + volumes: + - ./dists/:/usr/share/nginx/html/ ``` -> While simple and small, it is expected this will expand in the future and an all-in-one solution will be provided. ___
A SudoVanilla Project
\ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index eb80176..cea669c 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,19 @@ services: - pandora-charm: + butterflyvu: image: ark.sudovanilla.org/korbs/butterlyvu:amd64 restart: unless-stopped ports: - 2014:2014 volumes: - - .env:/app/.env \ No newline at end of file + - ./config.json:/app/config.json + - ./docs/:/app/src/content/docs/ + - ./dists/:/app/dist/ + + nginx: + image: nginx:latest + restart: unless-stopped + network_mode: bridge + ports: + - 4242:80 + volumes: + - ./dists/:/usr/share/nginx/html/ \ No newline at end of file diff --git a/package.json b/package.json index 002ac7c..026fc6e 100755 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "preview": "astro preview", "docker:start": "docker compose up -d", "docker:stop": "docker compose down", - "docker:build": "docker build --platform linux/amd64 -t ark.sudovanilla.org/korbs/butterlyvu:amd64 .", - "docker:push": "docker push ark.sudovanilla.org/korbs/butterlyvu:amd64" + "docker:build": "docker build --platform linux/amd64 -t ark.sudovanilla.org/korbs/butterflyvu:amd64 .", + "docker:push": "docker push ark.sudovanilla.org/korbs/butterflyvu:amd64" }, "dependencies": { "@astrojs/mdx": "4.0.0-beta.2",