fix gancio
This commit is contained in:
parent
6b261cd906
commit
073a7fccf8
4 changed files with 6 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ certs
|
|||
wordpress/wordpress
|
||||
mobilizon/mobilizon
|
||||
gancio/data/gancio.sqlite
|
||||
gancio.log
|
||||
|
|
10
Makefile
10
Makefile
|
@ -2,22 +2,18 @@ init:
|
|||
@bash mobilizon/mobilizon/docker/message.sh "Start"
|
||||
make start
|
||||
|
||||
setup: stop
|
||||
mobilizon: stop
|
||||
@bash mobilizon/mobilizon/docker/message.sh "Mobilizon: Compiling everything"
|
||||
docker-compose run --rm mobilizon bash -c 'mix deps.get; npm ci; npm run build:pictures; mix ecto.create; mix ecto.migrate'
|
||||
|
||||
admins:
|
||||
mobilizon_admins:
|
||||
docker-compose up -d
|
||||
@bash mobilizon/mobilizon/docker/message.sh "Mobilizon: Create admin user"
|
||||
docker-compose exec mobilizon mix mobilizon.users.new "your@email.com" --admin --password "password"
|
||||
# @bash mobilizon/mobilizon/docker/message.sh "WordPress: Setup instance and creating admin user"
|
||||
# @bash wordpress/setup.sh
|
||||
|
||||
build: stop
|
||||
@bash mobilizon/mobilizon/docker/message.sh "Mobilizon: Compiling backend"
|
||||
docker-compose run --rm mobilizon bash -c 'mix ecto.create'
|
||||
|
||||
migrate:
|
||||
mobilizon_migrate:
|
||||
docker-compose run --rm mobilizon mix ecto.migrate
|
||||
|
||||
logs:
|
||||
|
|
|
@ -81,7 +81,8 @@ services:
|
|||
- NODE_TLS_REJECT_UNAUTHORIZED='0'
|
||||
volumes:
|
||||
- gancio_data:/home/node/data
|
||||
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:rox
|
||||
- ./gancio/config.json:/home/node/data/config.json:rw
|
||||
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro
|
||||
|
||||
ports:
|
||||
- "13120:13120"
|
||||
|
|
Loading…
Reference in a new issue