diff --git a/docker-compose.yml.example b/docker-compose.yml.example index 0cf30b4..6901a01 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -19,10 +19,15 @@ services: - PG_HOST=db - PG_USER=postgres - PG_PASSWORD=mysecretpassword - - ADDRESS=0.0.0.0:8000 + - ROCKET_ADDRESS=0.0.0.0 + - ROCKET_PORT=8000 - RUST_LOG=debug - ROCKET_SECRET_KEY="openssl rand -base64 32" + volumes: + - type: bind + source: ./web + target: /srv/web # The commented out section below is an example of how to define a PostgreSQL # database that your application can use. `depends_on` tells Docker Compose to # start the database before your application. The `db-data` volume persists the