GardenPlanner/docker-compose.yaml

26 lines
474 B
YAML
Raw Normal View History

2023-06-25 10:13:39 +02:00
version: '3'
services:
gardenplanner-db:
image: postgres
restart: always
environment:
POSTGRES_USER: garden
POSTGRES_PASSWORD: garden
POSTGRES_DB: gardenPlaner
volumes:
- ./api/init.sql:/docker-entrypoint-initdb.d/init.sql
gardenplanner-api:
build: ./api
restart: always
depends_on:
- gardenplanner-db
ports:
- 3000:3000
adminer:
image: adminer
restart: always
ports:
- 8080:8080