Files
org-roam/20230417114538-docker_compose.org
2025-11-05 09:18:11 +01:00

16 lines
960 B
Org Mode

:PROPERTIES:
:ID: fcbfabfa-4a8c-4826-8b57-5dce05965c76
:END:
#+title: docker-compose
A compoise file for [[id:df046fd7-1f82-4e12-9065-56d222f56408][docker]] [[id:936191f2-696b-4d9a-96ad-c8449778ae26][containers]]. You can predefine containers to run list settings applied to those containers in a docker-compose file (docker-compose.yml). When you run this file, the listed containers get set up.
* The Setup
The command for running docker-comose is:
#+begin_src
docker-compose up -d
#+end_src
The -d stands for run the command in the backfground and give the prompt back to the terminal. Instead of "up -d" you can also run the restart command to restart all containers listed in an compose-file.
* Compose file locations
** nextcloud, MariaDB: [[~/.config/docker/docker-compose.yml][Main-location]]
** Whoogle-search: [[~/whoogle-search/docker-compose.yml][whoogle-location]]
** rustdesk: [[~/rustdesk/docker-compose.yml][rustdesk-location]]