version: "3.7" services: database: image: postgres restart: always env_file: - .env volumes: - data:/var/lib/postgresql/data nourybot: user: "1000:1000" build: context: . dockerfile: Dockerfile env_file: .env volumes: - "/tmp/CHANGE_THIS_DIRECTORY/:/public/uploads" ports: - "127.0.0.1:42069:8080" depends_on: - database volumes: data: