You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
700 B
700 B
Tagesschule elementa
Docker
-
Copy environment files
.env*.exampleto.env*and make the configuration changes. Configure database user and ports for docker.- HTTP_PORT=8009 [.env]
- HTTPS_PORT=4047 [.env]
-
Main app has several mountpoints / volumes. Point them into the appropriate location on your filesystem
- ./docker/static_collected
- ./docker/data/media
- ./docker/data
-
To start
docker-compose up -
Restore DB
docker exec -i tagesschule_db_1 pg_restore -U django --no-owner -d db < 41ebf901-4607-4653-9b00-54a42d877b38.dump -
Migrate
docker-compose exec web manage.py migrate