Docker setup work
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
x-service-base: &service-base
|
||||
user: ${UID:?UID missing}:${GID:?GID missing}
|
||||
tty: true
|
||||
env_file: .env
|
||||
|
||||
x-service-bun: &service-bun
|
||||
<<: *service-base
|
||||
image: oven/bun
|
||||
working_dir: /app/
|
||||
|
||||
x-volume-app: &volume-app ./:/app/
|
||||
|
||||
@@ -18,8 +16,12 @@ services:
|
||||
volumes:
|
||||
- *volume-app
|
||||
working_dir: /app/packages/server
|
||||
ports:
|
||||
- 80:80
|
||||
env_file: .env
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
HTTP_PORT: 80
|
||||
entrypoint: ["bun", "src/index.ts"]
|
||||
|
||||
webui:
|
||||
|
||||
Reference in New Issue
Block a user