version: '3.8' services: app: build: . ports: - "13000:3000" env_file: - .env.production environment: - DATABASE_URL=postgresql://root:WKE7xeZohxdZit7eObjG@db:5432/My-Weekly-ToDo-List?schema=public - NEXTAUTH_SECRET=Ca7EoJzZSMJO2CkqwdWd - NEXTAUTH_URL=https://todo.martin-bierschenk.de - NEXT_PUBLIC_BASE_URL=https://todo.martin-bierschenk.de depends_on: - db volumes: - ./logs:/app/logs restart: unless-stopped db: image: postgres:15 environment: POSTGRES_DB: My-Weekly-ToDo-List POSTGRES_USER: root POSTGRES_PASSWORD: WKE7xeZohxdZit7eObjG volumes: - postgres_data:/var/lib/postgresql/data ports: - "15432:5432" restart: unless-stopped volumes: postgres_data: