FE-0: Projektgrundgerüst (SvelteKit, Tailwind, Docker, Caddy)
This commit is contained in:
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: nsct-web
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NSCT_API_BASE_URL=http://nsct-api:8080
|
||||
- DEFAULT_THEME=dark
|
||||
ports:
|
||||
- "3000:3000"
|
||||
networks:
|
||||
- nsct-network
|
||||
|
||||
caddy:
|
||||
image: caddy:2.8-alpine
|
||||
container_name: nsct-caddy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
networks:
|
||||
- nsct-network
|
||||
depends_on:
|
||||
- web
|
||||
|
||||
networks:
|
||||
nsct-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
Reference in New Issue
Block a user