Error Converting Docker Commands to docker-compose.yml
In the container timescaledb
you are actually mounting the /var/lib/postgresql/data
to ./timescaledb
and hence, if you want to use the same volume for the wale
container, you can edit the wale
container like:
... volumes: - ./backups:/backups - ./timescaledb:/var/lib/postgresql/data...
In this case, both of the containers will be able to read and write from the same mounted volume to your local machine.
Also, remember to remove this part as it is not a valid command in docker-compose:
volumes_from: - tsdb