Skip to content

Commit

Permalink
Keep bash history in docker dev machine
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-hank committed Mar 2, 2022
1 parent 5ad7097 commit d2aeca5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ services:
- '1080:1080'
volumes:
- '.:/app'
- docker_website_bash_history:/home/lumen/hist
env_file:
- '.env'
environment:
HISTFILE: /home/lumen/hist/.bash_history

elasticsearch:
image: elasticsearch:7.17.0
Expand All @@ -47,4 +50,4 @@ services:
volumes:
postgres:
esdata:
esdata_test:
docker_website_bash_history:

0 comments on commit d2aeca5

Please sign in to comment.