A real-world example how to run AltAmino using Docker Compose.
- running on 19871 port on host (localhost:19871)
- running on 8081 in docker network (api:8081)
- running on 19872 port on host (localhost:19872)
- running on 8081 in docker network (websocket:8081)
- running on 19873 port on host (localhost:19873)
- running on 27017 in docker network (mongo:27017)
- running on 19874 port on host (localhost:19874)
- running on 6379 in docker network (valkey:6379)
-
There is no email server like Maddy provided in this docker compose. It means you can: set up own mail server, rent one, use free one.. or just disable emails completely. Just know that "environment" in docker compose is more important than "env_file".
-
There is no S3 storage provided like GarageHQ or SeaweedFS. The answer is almost the same as previous, because you MUST set up some S3 storage. Or you will meet consequences in errors' form. I warned ya.
-
In dev environment you can run api server locally on your machine using host ports instead of docker ones. Which is one in, for example, "1999:27072"? First one is for host machine that runs docker compose. Second one is for docker network to use. You can also instead of IPs use container names (only in docker network btw)! That's why i set up them. Also it's just nicer to read after all.
-
Please, PLEASE, before setting up .env file look up at altamino/api/helpers/config.py! There is always actual declaration what environment variables this whole setup needs.