-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
52 lines (48 loc) · 1.21 KB
/
docker-compose.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.8"
services:
app:
build:
context: app
dockerfile: Dockerfile
target: dev
ports:
- "3000:3000"
environment:
NUXT_PUBLIC_POCKETBASE_SERVER_BASE_URL: http://pocketbase:8080
NUXT_PUBLIC_POCKETBASE_CLIENT_BASE_URL: http://localhost:8080
NUXT_PUBLIC_PLAUSIBLE_TRACKING_DOMAIN: ""
volumes:
- ./app:/app
- /app/node_modules
networks:
- leihbar
pocketbase:
build:
context: pocketbase
dockerfile: Dockerfile
target: dev
ports:
- "8080:8080"
environment:
CONFIG_LOCALE: "en"
# If a reservation needs to have a user, or not
CONFIG_RESERVATION_REQUIRE_USER: "false"
CONFIG_LENDING_CONDITIONS_LINK: "https://example.com/lending-conditions"
CONFIG_LENDING_CONTACT_EMAIL: "lending@example.com"
volumes:
- ./pocketbase/pb_migrations:/pb/pb_migrations
- ./pocketbase/pb_hooks:/pb/pb_hooks
- ./pocketbase/pb_data:/pb/pb_data
networks:
- leihbar
mailhog:
image: mailhog/mailhog
logging:
driver: "none" # disable saving logs
ports:
- 1025:1025 # smtp server
- 8025:8025 # web ui
networks:
- leihbar
networks:
leihbar: