-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (42 loc) · 971 Bytes
/
docker-compose.yml
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
version: '3.9'
services:
db:
restart: 'always'
build: './pocketbase'
expose:
- 80
ports:
- ${PORTDB:-8081}:80
environment:
FRONTEND_URL: http://web:3001
volumes:
- dbdata:/pb/pb_data
- ./pocketbase/pb_migrations:/pb/pb_migrations
- ./pocketbase/pb_hooks:/pb/pb_hooks
networks:
- nginx-network
web:
restart: 'always'
build:
context: './web'
dockerfile: 'Dockerfile'
args:
PUBLIC_DATABASE: ${PUBLIC_DATABASE:-https://api.cc-web.cloud/zerzinator}
ports:
- ${PORTWEB:-8080}:3001
expose:
- 3001
environment:
NODE_ENV: production
PORT: 3001
PUBLIC_DATABASE: ${PUBLIC_DATABASE:-https://api.cc-web.cloud/zerzinator}
TZ: Europe/Berlin
# ORIGIN: https://zerzinator.cc-web.cloud
networks:
- nginx-network
volumes:
dbdata:
networks:
nginx-network:
name: nginx-proxy-manager_default
external: true