It is now possible to display #1

Merged
Hare merged 24 commits from develop into master 2024-08-26 18:55:10 +09:00
4 changed files with 10 additions and 3 deletions
Showing only changes of commit 2727a08b0f - Show all commits

View File

@ -1,8 +1,8 @@
services: services:
frontend: frontend:
build: build:
context: . context: ./
dockerfile: ./Dockerfile dockerfile: ./docker/app.Dockerfile
environment: environment:
- PORT=${WEB_PORT} - PORT=${WEB_PORT}
ports: ports:
@ -14,9 +14,13 @@ services:
- ./tsconfig.json:/app/tsconfig.json - ./tsconfig.json:/app/tsconfig.json
- ./svelte.config.js:/app/svelte.config.js - ./svelte.config.js:/app/svelte.config.js
db: db:
image: postgres:16 build:
context: ./
dockerfile: ./docker/postgres.Dockerfile
environment: environment:
- POSTGRES_PASSWORD=${PG_PASS} - POSTGRES_PASSWORD=${PG_PASS}
- POSTGRES_USER=${PG_USER}
- POSTGRES_DB=${PG_DB}
ports: ports:
- ${PG_PORT}:5432 - ${PG_PORT}:5432
volumes: volumes:

View File

View File

@ -0,0 +1,3 @@
FROM postgres:16
COPY ./docker/initdb.d/ /docker-entrypoint-initdb.d/