Compare commits

...
2 Commits
Author SHA1 Message Date
Godopu a6f094614e chore(docker): configure host volume mount and container user in docker-compose.yml
- Add container user specification UID:GID
- Mount host directory ./volumes/data to /app/data
- Comment out named volume definition
2026-09-15 23:48:17 +00:00
Godopu 1150c230b6 feat(members): update professor profile image and archive previous as prof_profile_2.png
- Replace prof_profile.png with newly provided photo
- Rename previous profile photo to prof_profile_2.png for archiving
2026-09-15 23:48:08 +00:00
3 changed files with 6 additions and 4 deletions

No files matched your search

+6 -4
View File
@@ -8,6 +8,7 @@ services:
args: args:
- NEXT_PUBLIC_API_BASE_URL=${NEXT_PUBLIC_API_BASE_URL:-} - NEXT_PUBLIC_API_BASE_URL=${NEXT_PUBLIC_API_BASE_URL:-}
container_name: anl-app container_name: anl-app
user: "${UID:-1000}:${GID:-1000}"
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${APP_PORT:-8080}:8080" - "${APP_PORT:-8080}:8080"
@@ -20,7 +21,8 @@ services:
- AUTO_MIGRATE=true - AUTO_MIGRATE=true
- ADMIN_TOKEN=${ADMIN_TOKEN:?ADMIN_TOKEN must be set -- see .env.example} - ADMIN_TOKEN=${ADMIN_TOKEN:?ADMIN_TOKEN must be set -- see .env.example}
volumes: volumes:
- anl-db-data:/app/data - ./volumes/data:/app/data
# - anl-db-data:/app/data
healthcheck: healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/api/v1/health" ] test: [ "CMD", "curl", "-f", "http://localhost:8080/api/v1/health" ]
interval: 15s interval: 15s
@@ -28,6 +30,6 @@ services:
retries: 3 retries: 3
start_period: 5s start_period: 5s
volumes: # volumes:
anl-db-data: # anl-db-data:
name: anl-sqlite-storage # name: anl-sqlite-storage
Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 KiB

After

Width:  |  Height:  |  Size: 389 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB