forked from digitopvn/diginext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.podman.dev.example.yaml
More file actions
47 lines (47 loc) · 1.53 KB
/
docker-compose.podman.dev.example.yaml
File metadata and controls
47 lines (47 loc) · 1.53 KB
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
version: "3"
networks:
bridge:
driver: bridge
services:
# build server
diginext:
container_name: diginext
build:
context: .
dockerfile: Dockerfile.dev
working_dir: /usr/app/
ports:
- "6969:6969"
networks:
- bridge
# ----------- [START] FOR PODMAN TO RUN INSIDE DOCKER WITHOUT PRIVILEDGE MODE ----------
devices:
- "/dev/fuse"
security_opt:
- "seccomp=unconfined"
- "label=disable"
cap_add:
- sys_admin
- mknod
# ----------- [END] FOR PODMAN TO RUN INSIDE DOCKER WITHOUT PRIVILEDGE MODE ----------
entrypoint: /usr/app/scripts/startup-dev.sh
volumes:
# PERSIST NODE_MODULES & HOME DIR
- /usr/app/node_modules/
- /home/app/
# HOST:CONTAINER
- ./dist:/usr/app/dist
- ./templates:/usr/app/templates
- ./public:/usr/app/public
- ./storage:/var/app/storage
environment:
- NODE_ENV=development
- PORT=6969
- BASE_URL=http://localhost:6969
- DB_URI=mongodb://root:diginext@mongo:27017/diginext?authSource=admin
- CLI_MODE=server
- BUILDER=podman # <---- select PODMAN as a main builder here
- JWT_SECRET= # <--- insert here
- JWT_EXPIRE_TIME=48h
- GOOGLE_CLIENT_ID= # <--- insert here
- GOOGLE_CLIENT_SECRET= # <--- insert here