Skip to content

Commit 4a0b37d

Browse files
🏗️ Nest attachments in attachments/data subfolder
1 parent cd2295c commit 4a0b37d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker-compose.cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ services:
4949
server:
5050
image: ${SERVER_IMAGE}
5151
volumes:
52-
- ./attachments:/app/attachments
52+
- ./attachments/data:/app/attachments
5353
environment:
5454
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
5555
- USERS_ACCESS_TOKEN_SECRET=${USERS_ACCESS_TOKEN_SECRET}

docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ services:
4545
dockerfile: Dockerfile.dev
4646
volumes:
4747
- ./server:/app
48-
- ./attachments:/app/attachments
48+
- ./attachments/data:/app/attachments
4949
environment:
5050
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
5151
- USERS_ACCESS_TOKEN_SECRET=${USERS_ACCESS_TOKEN_SECRET}

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ services:
5757
server:
5858
image: ${SERVER_IMAGE}
5959
volumes:
60-
- ./attachments:/app/attachments
60+
- ./attachments/data:/app/attachments
6161
environment:
6262
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
6363
- USERS_ACCESS_TOKEN_SECRET=${USERS_ACCESS_TOKEN_SECRET}

0 commit comments

Comments
 (0)