mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2024-11-20 14:07:56 +01:00
80f82347b1
The reason I rename it is that I use several docker compose files on my computer The names of the directories are the docker container prefix. I would like to have a descriptive prefix.
23 lines
1.0 KiB
Markdown
23 lines
1.0 KiB
Markdown
# Run Server with Docker
|
|
|
|
Docker Image can not run on armv6 (Raspberry Pi 1 or Raspberry Pi Zero)
|
|
|
|
1. Install Docker
|
|
|
|
On Raspberry Pi:
|
|
[https://phoenixnap.com/kb/docker-on-raspberry-pi](https://phoenixnap.com/kb/docker-on-raspberry-pi)
|
|
2. Install Docker-Compose
|
|
|
|
On Raspberry Pi:
|
|
[https://dev.to/elalemanyo/how-to-install-docker-and-docker-compose-on-raspberry-pi-1mo](https://dev.to/elalemanyo/how-to-install-docker-and-docker-compose-on-raspberry-pi-1mo)
|
|
4. Get Docker-Compose Files `git clone https://gitlab.com/fabinfra/fabaccess/dockercompose.git fabaccess-server`
|
|
|
|
The Dockerfile is in the root directory of the main repo
|
|
docker-compose.yml is available in a seperate [git repo](https://gitlab.com/fabinfra/fabaccess/dockercompose)
|
|
4. Edit config files in `config` folder to taste
|
|
5. Start Server with `docker-compose up -d`
|
|
|
|
To make it eaysier to apply youre changes in your config and keep the dockercompose uptodate, you should "fork" this respository.
|
|
|
|
Get Server Logs: `docker-compose logs`
|