diff --git a/docker-compose.yml b/docker-compose.yml index 4e55835..4be1e91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,7 @@ services: app: + env_file: + - .env build: context: . dockerfile: Dockerfile.production @@ -9,11 +11,7 @@ services: - db environment: NODE_ENV: production - DB_NAME: ${DB_NAME} - DB_USER: ${DB_USER} - DB_PASS: ${DB_PASS} DB_HOST: db - TZ: Asia/Tokyo volumes: - ./public/thumbnails:/app/public/thumbnails - ./logs/app:/app/logs