Skip to content

Commit

Permalink
perf(test): tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorsalgado committed Mar 3, 2024
1 parent 05c43fe commit c0896d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ services:
- ./conf/script.sql:/docker-entrypoint-initdb.d/script.sql
- ./conf/postgresql.conf:/etc/postgresql/postgresql.conf
tmpfs:
- pgdata:/var/lib/postgresql/data
- /var/lib/postgresql/data
command: postgres -c config_file=/etc/postgresql/postgresql.conf
deploy:
resources:
Expand All @@ -90,6 +90,3 @@ services:
limits:
cpus: "0.2"
memory: "20MB"

volumes:
pgdata:

0 comments on commit c0896d6

Please sign in to comment.