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.
decentralised_book_index/docker-compose.yml

35 lines
530 B

version: '3'
networks:
dbi:
external: false
services:
db:
image: postgres:17-alpine
restart: always
volumes:
- ./data:/var/lib/postgresql/data
networks:
- dbi
env_file:
- .env_db
web:
# to build the image
#build:
# context: .
# to pull the pre-built image
image: git.kklochko.space/kklochko/decentralised_book_index:latest
container_name: dbi
ports:
- 4000:4000
depends_on:
- db
networks:
- dbi
env_file:
- .env