Skip to content

Commit

Permalink
Update to 0.286-edge4 to include time travel
Browse files Browse the repository at this point in the history
  • Loading branch information
kiersten-stokes committed Nov 30, 2023
1 parent ea7c68b commit 898545d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ networks:
services:
presto-coordinator:
container_name: presto-coordinator
image: prestodb/presto:0.286-edge3 # includes not-yet-released time travel feature
image: prestodb/presto:0.286-edge4 # includes not-yet-released time travel feature
ports:
- 8080:8080
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docs/lab-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ This command may also take quite awhile to run, as docker has to pull an image f
First, we define a network: `presto_network`. Each of our containers will communicate across this network.
The next section is the `service` section, which is the bulk of the file. The first service we define is that of the Presto cluster, which we have named `presto-coordinator`. We provide a human-readable `container_name` (also "presto-coordinator") and the Docker `image` that we want this service to be based on, which is the `presto` image with tage `0.282` hosted in the `prestodb` DockerHub repository. The value `8080:8080` means that we want to map port 8080 on the Docker host (left side of the colon) to port 8080 in the container (right of the colon).
The next section is the `service` section, which is the bulk of the file. The first service we define is that of the Presto cluster, which we have named `presto-coordinator`. We provide a human-readable `container_name` (also "presto-coordinator") and the Docker `image` that we want this service to be based on, which is the `presto` image with tag `0.286-edge4` hosted in the `prestodb` DockerHub repository. The value `8080:8080` means that we want to map port 8080 on the Docker host (left side of the colon) to port 8080 in the container (right of the colon).
We also need to supply the Presto container with some necessary configuration files, which we define using the `volume` key. Similar to how we defined the port, we're saying here that we want to map the files that are in the `presto/etc` directory (relative to our current working directory on the command line) to the location is the container corresponding to `/opt/presto-server/etc`, which is the directory that Presto expects to find configuration files. Here are the configuration settings for the Presto server as given in `./presto/config.properties` that we will pass to our server container:

Expand Down

0 comments on commit 898545d

Please sign in to comment.