pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
321 B
17 lines
321 B
version: '3.3'
|
|
services:
|
|
db:
|
|
volumes:
|
|
- app-db-data:/var/lib/postgresql/data/pgdata
|
|
deploy:
|
|
placement:
|
|
constraints:
|
|
- node.labels.${STACK_NAME}.app-db-data == true
|
|
proxy:
|
|
deploy:
|
|
placement:
|
|
constraints:
|
|
- node.role == manager
|
|
|
|
volumes:
|
|
app-db-data:
|
|
|