mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Prettier install & format
This commit is contained in:
@@ -11,6 +11,7 @@ This project uses `devenv.nix` to manage the development environment, which will
|
||||
### Installation
|
||||
|
||||
1. Clone the repository:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/Cian-H/am-d-model.eu.git
|
||||
cd am-d-model.eu
|
||||
@@ -54,4 +55,3 @@ implemented in future but for now, simplicity is a virtue.
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
|
||||
inputs:
|
||||
nixpkgs:
|
||||
url: github:cachix/devenv-nixpkgs/rolling
|
||||
nixpkgs:
|
||||
url: github:cachix/devenv-nixpkgs/rolling
|
||||
|
||||
@@ -1,44 +1,43 @@
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
|
||||
services:
|
||||
site:
|
||||
build: .
|
||||
networks:
|
||||
- am-d-model-network
|
||||
expose:
|
||||
- "3000"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "io.containers.autoupdate=local"
|
||||
site:
|
||||
build: .
|
||||
networks:
|
||||
- am-d-model-network
|
||||
expose:
|
||||
- "3000"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "io.containers.autoupdate=local"
|
||||
|
||||
caddy:
|
||||
image: docker.io/library/caddy:latest
|
||||
depends_on:
|
||||
- site
|
||||
networks:
|
||||
- am-d-model-network
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- caddy_data:/data
|
||||
- ./caddy:/etc/caddy
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "io.containers.autoupdate=registry"
|
||||
caddy:
|
||||
image: docker.io/library/caddy:latest
|
||||
depends_on:
|
||||
- site
|
||||
networks:
|
||||
- am-d-model-network
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- caddy_data:/data
|
||||
- ./caddy:/etc/caddy
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "io.containers.autoupdate=registry"
|
||||
|
||||
repo-placeholder:
|
||||
image: docker.io/nginx:alpine
|
||||
networks:
|
||||
- am-d-model-network
|
||||
expose:
|
||||
- "80"
|
||||
volumes:
|
||||
- ./repo:/usr/share/nginx/html
|
||||
repo-placeholder:
|
||||
image: docker.io/nginx:alpine
|
||||
networks:
|
||||
- am-d-model-network
|
||||
expose:
|
||||
- "80"
|
||||
volumes:
|
||||
- ./repo:/usr/share/nginx/html
|
||||
|
||||
networks:
|
||||
am-d-model-network:
|
||||
name: am-d-model-network
|
||||
|
||||
am-d-model-network:
|
||||
name: am-d-model-network
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_data:
|
||||
|
||||
8
prettier.config.js
Normal file
8
prettier.config.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const config = {
|
||||
singleQuote: false,
|
||||
tabWidth: 4,
|
||||
trailingComma: "all",
|
||||
printWidth: 100,
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user