Docker Compose
How to get started using Docker-Compose.
Categories:
Docker-compose works the similar way as Docker.
The basic docker compose file is as follows:
services:
web:
image: markbeep/audiobookrequest:1
ports:
- '8000:8000'
volumes:
- ./config:/config
If you want to add any environment variables, you can add them as explained here. It would look along the lines of this:
services:
web:
image: markbeep/audiobookrequest:1
ports:
- '8000:5432'
volumes:
- ./config:/config
environment:
ABR_APP__PORT: 5432
ABR_APP__OPENAPI_ENABLED: true
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.