Skip to content

Commit

Permalink
2.1 Changed "oppilas" in DB container to whatever $LINUX_USER is in .…
Browse files Browse the repository at this point in the history
…env.

Exercise text is now hard coded "student".
  • Loading branch information
root committed Dec 19, 2023
1 parent 9ff00c2 commit 1a8a227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
image: kartoza/postgis:${PG_TAG}
volumes:
- postgres_data:/var/lib/postgresql
- ./data/dbhost:/home/oppilas/data
- ./data/dbhost:/home/${LINUX_USER}/data
- ./docker/init_db:/docker-entrypoint-initdb.d
ports:
- "5439:5432"
Expand Down
2 changes: 1 addition & 1 deletion harjoitukset/02_harjoitus_2.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Voit lukea CSV-tiedoston tiedot edellisessä vaiheessa luotuun tauluun seuravaal
::: code-box
``` sql
COPY airports
FROM '/home/oppilas/data/airports.dat'
FROM '/home/student/data/airports.dat'
WITH CSV;
```
:::
Expand Down

0 comments on commit 1a8a227

Please sign in to comment.