-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
43 lines (35 loc) · 1.95 KB
/
compose.yml
File metadata and controls
43 lines (35 loc) · 1.95 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
# sample of how to run Zenith with Docker Compose
services:
app:
image: sidekickcoder/zenith:dev
build: .
ports:
- 3001:3000
# volumes:
# - ./.volumes/app/data:/data
# - ./.volumes/app/config:/app/config
# - ./.volumes/app/modules:/app/modules
# - ./.volumes/app/storage:/app/storage
command:
# - "@logger:level=debug"
- "@config:database.default=memory"
- "@config:database.migrator.auto=true"
# auto-create users
- "@config:users_auto=true"
- "@config:users[1].username=${ZENITH_ADMIN_USERNAME:-admin}"
- "@config:users[1].email=${ZENITH_ADMIN_EMAIL:-admin@dev.com}"
- "@config:users[1].password=${ZENITH_ADMIN_PASSWORD:-admin-123}"
- "@config:users[1].permissions=admin"
# autoinstall modules
- "@config:modules-installer.auto=true"
- "@config:modules-installer.modules.zenith-backup.url=https://github.com/sidekick-coder/zenith-backup.git"
- "@config:modules-installer.modules.zenith-backup.branch=build"
- "@config:modules-installer.modules.zenith-backup.npm-install=true"
- "@config:modules-installer.modules.zenith-blocks.url=git@github.com:sidekick-coder/zenith-blocks.git"
- "@config:modules-installer.modules.zenith-blocks.ssh_key=${BLOCKS_SSH_KEY}"
- "@config:modules-installer.modules.zenith-blocks.branch=build"
- "@config:modules-installer.modules.zenith-blocks.npm-install=true"
- "@config:modules-installer.modules.zenith-medias.url=git@github.com:sidekick-coder/zenith-blocks.git"
- "@config:modules-installer.modules.zenith-medias.ssh_key_file=./.ssh/id_ed25519"
- "@config:modules-installer.modules.zenith-medias.branch=build"
- "@config:modules-installer.modules.zenith-medias.npm-install=true"