-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 812 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
# reverse proxy for prisma studios db-frontend (with http basic auth)
nginx:
image: nginx:latest
container_name: nginx_rev_proxy
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/prismaStudio-htpasswd:/etc/nginx/.htpasswd
ports:
- 5556:5556 # must no be exposed to the internet!
labfooddesk:
image: ghcr.io/13bytes/labfooddesk:main
container_name: labfooddesk
restart: always
build:
context: .
dockerfile: Dockerfile
working_dir: /app
ports:
- "3000:3000" # labfooddesk (nextjs)
expose:
- "5555:5555" # prisma studio
env_file:
- .env
volumes:
- ./labfooddesk-docker-db/:/app/db/
environment:
- DATABASE_URL=file:/app/db/db.sqlite
- ENABLE_PRISMA_STUDIO=false