mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
Remove the Caddyfile and expose port 4000 locally
This commit is contained in:
@@ -19,6 +19,8 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
command: npm run start
|
command: npm run start
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "4000:4000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
@@ -34,18 +36,6 @@ services:
|
|||||||
- ./redis-stack.conf:/redis-stack.conf
|
- ./redis-stack.conf:/redis-stack.conf
|
||||||
command: redis-stack-server /redis-stack.conf
|
command: redis-stack-server /redis-stack.conf
|
||||||
|
|
||||||
caddy:
|
|
||||||
image: caddy:2-alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
- "443:443"
|
|
||||||
- "443:443/udp"
|
|
||||||
volumes:
|
|
||||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
||||||
- caddy_data:/data
|
|
||||||
- caddy_config:/config
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
redis_data:
|
redis_data:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user