-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
69 lines (69 loc) · 1.94 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:0.22
container_name: pocketbase
restart: unless-stopped
# command:
# - --encryptionEnv #optional
# - ENCRYPTION #optional
# environment:
# ENCRYPTION: example #optional
ports:
- "8090:8090"
volumes:
- ./.pb/data:/pb_data
- ./.pb/public:/pb_public
- ./.pb/hooks:/pb_hooks
healthcheck: #optional (recommended) since v0.10.0
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
interval: 5s
timeout: 5s
retries: 5
# mongo:
# image: mongo:4.2.13
# container_name: mongo-xbo
# restart: always
# ports:
# - 27017:27017
# volumes:
# - mongo-xbo:/data/db
# - ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
# environment:
# MONGO_INITDB_ROOT_USERNAME: admin
# MONGO_INITDB_ROOT_PASSWORD: secure-admin-password
# client:
# image: localhost:5000/xbo-client:local
# build:
# context: .
# dockerfile: ./packages/client/Dockerfile
# command: yarn start
# stdin_open: true
# container_name: xbo-client-dev
# restart: always
# volumes:
# - ./packages/client/src:/client/src
# environment:
# - REACT_APP_API_URL=http://localhost:9000
# - REACT_APP_PUSHBULLET_APP_CLIENT_ID=
# ports:
# - 3000:3000
# server:
# image: localhost:5000/xbo-server:local
# build:
# context: .
# dockerfile: ./packages/server/Dockerfile
# command: yarn start # yarn run start:dev
# container_name: xbo-server
# restart: always
# volumes:
# - ./packages/server/src:/server/src
# ports:
# - 9000:9000
# environment:
# - DB_HOST=mongo
# - DB_PORT=27017
# - DB_NAME=xbo_dev
# - DB_USER=xbo_user
# - DB_PASSWORD=secure-xbo-password
# - PUSHBULLET_APP_CLIENT_ID=
# - PUSHBULLET_APP_CLIENT_SECRET=